Game Development Community

Exposions that make u fly

by fire maker · in Torque Game Engine · 06/26/2007 (12:53 pm) · 2 replies

How do i make my exposions make people fly

#1
06/26/2007 (4:01 pm)
Call this function:

radiusDamage(%sourceObject, %position, %radius, %damage, %damageType, %impulse)

Open up starter.fps\server\scripts\crossbow.cs to see an example of it being used. The greater the impulse, the greater the distance the struck object will be thrown.
#2
06/26/2007 (4:09 pm)
Thanks ill try it




works like a charm thanks