Page 2 of 2 FirstFirst 12
Results 11 to 11 of 11

Thread: Lost Helmet problem

  1. #11
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    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.

  2. 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
  •