View Full Version : help with torch flame actor
matrixmillion
21st Jan 2001, 08:10 PM
i have torch flame actor. but it doesn't do damage when player touches it. i.e, How can i make it take away so much health every 2 seconds??
Luminuis
21st Jan 2001, 08:41 PM
create a zone around it and make it do so much damage a second, you can't ahve it be over 2 seconds, but if you put like half of what you want for the 2 seconds then it has the same effect. Hope this helps.
Fuzzpilz
22nd Jan 2001, 07:19 AM
You might get problems with the zones, so I recommend you rescript the TorchFlame and change its default properties so collision is on and the Touch function calls TakeDamage.
Slick_Willy
22nd Jan 2001, 09:55 AM
No special Scripting is needed. I did this in CTF-TheCrossing if you want to take a look. All you need is 1 Special Event Trigger (can be placed anywhere in map) Give it an tag and set it to damage the instigator with whatever parameters you want. Now you will place a regular trigger at the torch flame and set the trigger collision to what you need. Set the triggers Event to the Tag of the Special Event Trigger and set the retrigger delay to 2.0 (meaning that if you stand in the trigger radius it will retrigger every 2 seconds. Otherwise it will only trigger once until you step out and back in a gain. Place as many triggers as you need for all your torch flames and have them all set to trigger the single Special Event Trigger. Messing with a bunch of zones is not recommended at all as it can cause various other problems.
vBulletin® v3.8.0 Release Candidate 2, Copyright ©2000-2009, Jelsoft Enterprises Ltd.