Jump to content

geck script HELP PLZ


paha989

Recommended Posts

So i am trying to get this script working that shows a message box and ask's the player to

1.start the battle (this button should enable the npc's)

2.reset the battle ( this button should move the npc's to xmarker and disable them)

3.exit (just simply exits the message box)

 

But the script wont enable/disable the npc's

 

 

Here is a link to the script --> https://www.dropbox.com/s/0d2wm0fep7ft4dk/Geck%20Script1.txt?dl=0

Here is a link to npc reference pic --> https://www.dropbox.com/s/py0818h3jgu087t/geck.jpg?dl=0

Link to comment
Share on other sites

Yeah i took it out.

 

Also do you now is there a way to have a script that "uses the reference that it is attached to". So for example something like this: (current reference.resurrect)

What i am trying to do is have a timer script that checks if the npc's is dead and if the npc is dead it would resurrect them.

Link to comment
Share on other sites

Make a ref variable, then set it to GetSelf, e.g.:

 

 

 

ref MyRef

 

Set MyRef to GetSelf

 

if MyRef.GetDead == 1

MyRef.resurrect

endif

 

 

 

 

(this is just off the top of my head and not tested, but it should be something like this)

Edited by madmongo
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...