-
10th February 2013, 09:59
#11
Sergeant
If you dont care about the helmets to bounce, you could do it abit simplier:
detach(helmet);
vel = vectorScale(vDir,0 - iDamage); <<calculate velocity by the damage, try it out...
vel = (vel[0],vel[1],randomIntRange(300,600));
helmet = spawn(model,head)
helmet moveGravity(vel,10);
wait(10) helmet delete;
or maybe cap the amount of max helmets at the same time
Last edited by serthy; 10th February 2013 at 10:03.
-
The Following User Says Thank You to serthy For This Useful Post:
kung foo man (10th February 2013)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules