Announcement

Collapse
No announcement yet.

Neverwinter Nights Revolutions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Use a GetLocation command to get their location when they die. Call it lPCLocation or something. Create a WP there. Destroy the last WP you made (actually better do that first) Make the portal port to the new WP.

    I'm going out for a curry so I can't write you a script just at this moment. Good luck!

    -Jam
    1) The crappy metaspam is an affront to the true manner of the artform. - Dauphin
    That's like trying to overninja a ninja when you aren't a mammal. CAN'T BE DONE. - Kassi on doublecrossing Ljube-ljcvetko
    Check out the ALL NEW Galactic Overlord Website for v2.0 and the Napoleonic Overlord Website or even the Galactic Captians Website Thanks Geocities!
    Taht 'ventisular link be woo to clyck.

    Comment




    • For those of you who have played, is this better?


      Use a GetLocation command to get their location when they die. Call it lPCLocation or something. Create a WP there. Destroy the last WP you made (actually better do that first) Make the portal port to the new WP.

      I'm going out for a curry so I can't write you a script just at this moment. Good luck!


      I thought there might already be a script made. I'll do my best to create one, we'll see hw well that works out.

      Comment


      • I know there are public domain respawn scripts out there, you just have to look for them. I'd help you, but as I said I can really only script what I can do on Lilac Soul's program, and respawn scripts are a little beyond my meager talents.
        Lime roots and treachery!
        "Eventually you're left with a bunch of unmemorable posters like Cyclotron, pretending that they actually know anything about who they're debating pointless crap with." - Drake Tungsten

        Comment


        • Originally posted by Jamski
          Use a GetLocation command to get their location when they die. Call it lPCLocation or something. Create a WP there. Destroy the last WP you made (actually better do that first) Make the portal port to the new WP.

          I'm going out for a curry so I can't write you a script just at this moment. Good luck!

          -Jam
          Or you could store the location on an object. That way each new location will overwrite the old one.

          Try something like this in your respawn script:

          object oPC=GetFirstPC();
          object oStorer=GetObjectByTag("Tag of object to store location");
          location lDied=GetLocation(oPC);

          SetLocalLocation(oStorer, "death point", lDied);

          Then the return script in a conversation could be:

          object oPC=GetPCSpeaker();
          object oStorer=GetObjectByTag("Tag of object to store location");

          location lDied=GetLocalLocation(oStorer, "death point");

          AssignCommand(oPC, JumpToLocation(lDied));
          “As a lifelong member of the Columbia Business School community, I adhere to the principles of truth, integrity, and respect. I will not lie, cheat, steal, or tolerate those who do.”
          "Capitalism ho!"

          Comment


          • I feel inadequate again, I think its time to start a "How many pull-ups can I do thread".


            How would I go about implementing those scripts? I think I got the respawn script right, I just added it to the end of the default script. The second bit I dont know where to put at all.

            Comment


            • Originally posted by Space05us
              I feel inadequate again, I think its time to start a "How many pull-ups can I do thread".
              * duke necks a potion of Endurance. Let's start!

              Comment


              • Originally posted by Space05us
                I feel inadequate again, I think its time to start a "How many pull-ups can I do thread".


                How would I go about implementing those scripts? I think I got the respawn script right, I just added it to the end of the default script. The second bit I dont know where to put at all.
                Put the second bit in a conversation in the "actions taken"

                -Jam
                1) The crappy metaspam is an affront to the true manner of the artform. - Dauphin
                That's like trying to overninja a ninja when you aren't a mammal. CAN'T BE DONE. - Kassi on doublecrossing Ljube-ljcvetko
                Check out the ALL NEW Galactic Overlord Website for v2.0 and the Napoleonic Overlord Website or even the Galactic Captians Website Thanks Geocities!
                Taht 'ventisular link be woo to clyck.

                Comment


                • Originally posted by Space05us
                  I feel inadequate again, I think its time to start a "How many pull-ups can I do thread".
                  How would I go about implementing those scripts? I think I got the respawn script right, I just added it to the end of the default script. The second bit I dont know where to put at all.
                  The first part is fine, I do that a lot because I prefer fewer files.

                  The second bit needs to be put in a conversation. Everyline in a conversation had two events to place scripts: text appears when (to check whether or not to show this text) and action taken (to run a script that performs an action). So write a new script and shove everything between the {} in void main. Then save it and put it in an action taken event in a conversation.

                  A: How can I help?
                  PC: Teleport me to where I last died.
                  A: Okey dokey! (Put script here in action taken event.)
                  “As a lifelong member of the Columbia Business School community, I adhere to the principles of truth, integrity, and respect. I will not lie, cheat, steal, or tolerate those who do.”
                  "Capitalism ho!"

                  Comment


                  • I messed around with the toolset, and I have learned I'm stupid .

                    So I have given up on that. I have many cool ideas floating around my head, by they are difficult to implement.

                    Comment


                    • object oPC=GetPCSpeaker();
                      object oStorer=GetObjectByTag("Tag of object to store location");

                      location lDied=GetLocalLocation(oStorer, "death point");

                      AssignCommand(oPC, JumpToLocation(lDied));



                      object oPC=GetPCSpeaker();
                      object oStorer=GetObjectByTag("Tag of object to store location");

                      location lDied=GetLocalLocation(oStorer, "death point");

                      AssignCommand(oPC, JumpToLocation(lDied));

                      Do I need to change anything about these scripts?
                      I tried putting them in as is and it didnt work.

                      Comment


                      • Maybe it's because they're lacking the beginning and end tags, which you see on the short scripts that are there by default. Put that script in between beginning and end tags, like so:

                        Put this

                        void main()
                        {

                        before it, and this

                        }

                        after it, i.e.:

                        void main()
                        {

                        object oPC=GetPCSpeaker();
                        object oStorer=GetObjectByTag("Tag of object to store location");

                        location lDied=GetLocalLocation(oStorer, "death point");

                        AssignCommand(oPC, JumpToLocation(lDied));



                        object oPC=GetPCSpeaker();
                        object oStorer=GetObjectByTag("Tag of object to store location");

                        location lDied=GetLocalLocation(oStorer, "death point");

                        AssignCommand(oPC, JumpToLocation(lDied));

                        }
                        I haven't actually checked the script to see if it works, but that's at least something you'll need to do to get any script to work.
                        Lime roots and treachery!
                        "Eventually you're left with a bunch of unmemorable posters like Cyclotron, pretending that they actually know anything about who they're debating pointless crap with." - Drake Tungsten

                        Comment


                        • By the way, any other CEP users out there? It's both good and bad for builders; good because you get a ton more placeables and creature types, but bad because, well, there are so many it gets a bit overwhelming.
                          Lime roots and treachery!
                          "Eventually you're left with a bunch of unmemorable posters like Cyclotron, pretending that they actually know anything about who they're debating pointless crap with." - Drake Tungsten

                          Comment


                          • w0000000000000t! Got it working!

                            Comment


                            • Maybe it's because they're lacking the beginning and end tags, which you see on the short scripts that are there by default. Put that script in between beginning and end tags, like so:
                              I already had it paced properly, I had to replace "Tag of object to store location" with the tag of an object. I had thought it would create the object automaticaly but I had to place an instance somewhere in the module for it to move around.

                              easy if you know what youre doing, but I was clueless, I feel like I just solved the mystery of Atlantis!

                              Comment


                              • Well, that's important too.
                                Lime roots and treachery!
                                "Eventually you're left with a bunch of unmemorable posters like Cyclotron, pretending that they actually know anything about who they're debating pointless crap with." - Drake Tungsten

                                Comment

                                Working...
                                X