Remote triggered bombs?
by Sangwoo Hong · in Torque Game Engine · 05/25/2006 (5:11 pm) · 2 replies
Does anyone know of a resource that does this ala Duke Nukem?
#2
In DN3D you toss a dynamite then blow it up then toss another etc so what you describe should work. I will probably go the item route but modifying the land mine resource seems like an idea too.
Thanks!
05/26/2006 (12:04 am)
Cool!In DN3D you toss a dynamite then blow it up then toss another etc so what you describe should work. I will probably go the item route but modifying the land mine resource seems like an idea too.
Thanks!
Torque Owner Paul /*Wedge*/ DElia
blah::onfire(%this, %obj, %slot){ if(%obj.remoteDet){ <code to make your bomb thing blow up> %obj.remotDet = 0; } else { <code making and firing projectile/item/whatever> %obj.remoteDet = %yourBomb; } }Of course you can, and I have, do more complex setups managing arrays of objects you can detonate and such. I haven't played DN3D in ages so I forget how it worked there.