Gamerbird Posted April 12, 2008 Share Posted April 12, 2008 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 1end 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 More sharing options...
Vagrant0 Posted April 12, 2008 Share Posted April 12, 2008 Scripts not saving is usually due to either a mistake in the syntax, which will usually prompt an error box describing what the mistake is, and what line it is on, or it is due to having an extra "endif". Link to comment Share on other sites More sharing options...
Eolath Posted April 12, 2008 Share Posted April 12, 2008 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.