hey.... I made a simple trap script for a chest.........but how do you add that to the chest?? you have to give a number.....but how do i know what number my script is?? when I save my script with a number as it's name and i use that number...it gives an error: can't get default variables for script. using zeroo's...... so...what do should I do
RE I'm not 100% sure. that this will work, but maybe if on the chest, you the "use" button under scripts on it. and then put the number of your script in the "script" box. then it should work out.
Hopefully, you are using DJ_Unique's script editor because it makes all this a LOT easier to deal with. That said, proceed as follows: First of all, you assign the script ID number in the script editor. That gives you the number you need to refer to when assigning the script to the chest. When you save the script, the number will automatically be prefixed to whatever you name it. Second, you edit the chest with World Editor and go to the the Scripts button. In there are a lot of radio buttons. Find the one that most accurately describes the action associated with the trap involved in your script - i.e., is it a trap for a thief or for anyone who opens the chest or for anyone who examines the chest - and select that radio button and put the script number in the box below, then click the okay button to finish. Close the chest editing window. Finally, save the mod map and your changes should be saved. I hope this has been helpful.
could you tell me where to get that script editor because if I try to download it on dark underlords site I get a 404.. thx
http://darkunderlord.freeyellow.com/downloads/scripted_beta_26.zip You have to change the adresses so they look like that on most of the files.