hello
in stock map
i have an airstrike called by binoc's then it drops the bomb where u clicked wiht binoculars. it explodes on what it hits. if nothing then ur target.
fire is then left when the explosion finishes. if somoone walks into the fire. they catch alite and slowly burn to death.. this only works once. i want to get the fire bit working more then once thne maybe i can get the airstrike working many times 2.
thats the code i use. and the guy walks into the fire on the floor. the guy has fire spawn on him. then a trigger spawns on him making him die. then the fire hides. i used hide so maybe i could make it move to the next guy then re-apear..but then only 1 guy at a time can be on fire. any ideas?
do i use triggerable again?. this is my first ever script so i is a n00b.hehe. sorry
in your script to start that thread or move that part of the script up to the main thread . Try this put it in the main thread at the top of your script .
The .... just means other lines that are in that thread already .
main:
....
....
....
....
thread burn_player
....
end
i should of said last night. i got it working. but then my mum fou nd my up at 6am agfain so i whent to bed,, the reason it didnit work is....................................
burn_player:
local.fire_burn = spawn trigger_multiple "targetname" "burn_player"
local.fire_burn.origin = $fire2.origin
local.fire_burn targetname fire_burn
local.fire_burn message "You Will Die Soon"
local.fire_burn setsize ( -30 -30 -30 ) ( 30 30 30 )
$fire_burn.setthread = ouch <----------------THIS. i changed it to $fire_burn setthread ouch <-----------that and it worked fine...cheers:P
end
ya thats what I ment . The burn player thread just makes the trigger it does not trigger it , so it does not matter when you run it as long as the trigger is where it is suppose to be when it is needed .