(quote)Originally posted by OgreBob:
**Ok, secondly, anyone have an idea of how to make a bomb... you drop it, and it's fuse goes for 3 seconds, giving you time to run away, and it explodes, doing input number here damage to everything in a radius (how would you make a radius?). That would be helpful if you could answer my questions.
Thanks
The first one I doubt can be done. But the dynamite I believe is doable.
First make probably an NPC that cannot move and looks like a stick of explosives. On contact, give the player an option to light it. Then (url="http://"http://coldroom.150m.com/CGE_Stuff/CGE_Tips.html#Q24")create a timer(/url)*. After the timer is finished, then replace it with a hostile NPC (which looks the same as the previous one) with an AI of Defensive Caster. Give the NPC a defensive spell that lowers the health of allies within (whatever range you want). Play a cool exploding animation, and voila!
*Thanks stray
(edit)For the hostile NPC, you'd want to crank up the resistance up to an absurd level. And don't forget to remove the Hostile NPC after it explodes.(/edit)
------------------
Nothing is foolproof to a sufficiently talented fool.
(This message has been edited by spitfire (edited 07-24-2002).)
(This message has been edited by spitfire (edited 07-24-2002).)
**