It seems it spawns traps on ALL objects in the area....instead I'd like it to only spawn on items (chests) I select...
Sir Elric's random respawning traps - questions
Débuté par
SuperFly_2000
, sept. 27 2011 02:13
#1
Posté 27 septembre 2011 - 02:13
#2
Posté 27 septembre 2011 - 02:19
Also I scanned through the scripts and not being able to make it out exactly I see the spells "Knock" and "Find Traps" being mentioned in there. I wonder....does the ERF file change anything of that?
#3
Posté 27 septembre 2011 - 08:37
I believe if you put the INT variable "TRAP_NEVER" set to 1 on a placeable will keep those objects free of traps.
#4
Posté 28 septembre 2011 - 07:15
Yeah...but there might be many placeblas that I don't want traps on...I mean...I hope it doesn't trap static ones even :-o
#5
Posté 03 octobre 2011 - 10:56
Hmmm, Sir Elric, I wonder if he is still around, he's is a good guy. I will take a look into his work on this and get back to you here with any info you may need.
#6
Posté 03 octobre 2011 - 11:29
You can set the system to always place a trap on a specific door or placeable by setting a local on the object "TRAP_ALWAYS = 1", most of the info for the system can be located in se_respawn_trap.nss. Alphamojo is also correct that setting "TRAP_NEVER = 1" will never alow the system to place a trap on the door or placeable. Additionally, an invis object with the tag INVIS_TRAP_SPAWNER_RANDOM must be placed in the area. Set a local variable int TRAP_PERCENTILE equal to the percent chance ou want traps to be set. A value of 25 = 25% chance of an object having a trap set upon it.
#7
Posté 17 novembre 2011 - 12:37
Still around. Been awhile since I looked at this system but if you only want specific placeables/doors trapped;
1) Open the area propeties and in the OnEnter event add the script: se_oea_rsp_traps
2) To ensure a placeable or door is always trapped set this local int on it: TRAP_ALWAYS int = 1
1) Open the area propeties and in the OnEnter event add the script: se_oea_rsp_traps
2) To ensure a placeable or door is always trapped set this local int on it: TRAP_ALWAYS int = 1





Retour en haut







