Jump to content

It Didn't Save The Script!


Gamerbird

Recommended Posts

I type this script in to the construction set and it didn't save it. Can anyone help:

 

scriptName 00ArirorScript

 

ref tempref

 

Begin onEquip player

 

if getisrace ariror

messagebox "You feel the might of Ariror run through your vains"

elseif

messageBox "The sword falls from your hands as you go to hold it"

getcontainer tempref

unequipitem ArirorLongsword 1

end

 

It went something like that anyway but it wouldn't save :wallbash: Has anyone got any ideas on why this didn't save/work or got an alternate code for getting only a certain race to be able to use this weapon?

 

:thanks:

Link to comment
Share on other sites

I type this script in to the construction set and it didn't save it. Can anyone help:

 

scriptName 00ArirorScript

 

ref tempref

 

Begin onEquip player

 

if [getisrace ariror == 1] (Not certain about this, but I always use it like that)

messagebox "You feel the might of Ariror run through your vains"

elseif

messageBox "The sword falls from your hands as you go to hold it"

getcontainer tempref

unequipitem ArirorLongsword 1

 

endif (HAS TO BE WRITTEN, ALWAYS)

 

end

 

It went something like that anyway but it wouldn't save :wallbash: Has anyone got any ideas on why this didn't save/work or got an alternate code for getting only a certain race to be able to use this weapon?

 

:thanks:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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