Home   Help Search Login Register  

Author Topic: disable  (Read 721 times)

0 Members and 1 Guest are viewing this topic.

Offline 456820

  • Contributing Member
  • **
disable
« on: 21 Apr 2005, 14:03:46 »
ok ive got this script wich isnt mine but it allows you to sit on the bac of a tank it all work but when im on it and i can stand up and fire so what can i use to stop that from happening would it be that disable line

Offline Wadmann

  • OFPEC Patron
  • ****
  • I'm the next evolutionary step after a llama!
Re:disable
« Reply #1 on: 22 Apr 2005, 20:04:05 »
Quote
i can stand up and fire so what can i use to stop that from happening

Do you want him to not stand, not fire or both not stand and not fire?

If you do not want him to fire, remove his ammo and replace it later when/where it is needed.

As for the not standing, shoot his kneecaps!  ;D

But seriously, that is the only thing that I can think of. Just set his damage to a point where he cannot stand, and revert it back when you give him his ammo back.

Of course, this would work but I am not sure of the damage level needed so it may make the unit all bloody.

This may not be the best of solutions, but it is the only one posted so far (I hate to see questions go unanswered as it is so un-OFPEC like!). :P

Wadmann
Check out my Camouflage Collection! New items added 31 July 2005.

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Re:disable
« Reply #2 on: 23 Apr 2005, 20:46:45 »
not firing : This SetCombatMode  "blue"
not standing: This setunitpos "down"

That what's you'r asking??

really DK what the script does.. if you descrive the problem better, we could help you better.. :P


Bye

Offline 456820

  • Contributing Member
  • **
Re:disable
« Reply #3 on: 23 Apr 2005, 21:49:56 »
well thats kind of right but i dont mean for an ai i mean for the player.
sorry for not stating