Home   Help Search Login Register  

Author Topic: Disable Prone  (Read 620 times)

0 Members and 1 Guest are viewing this topic.

modderman

  • Guest
Disable Prone
« on: 30 Apr 2005, 00:06:10 »
I was wondering if someone could create a script, or figure out a way to prevent units from going prone. the "setunitpos" command dosn't seem to do it. Let me know if anyone has anyideas....

Offline Pilot

  • Contributing Member
  • **
Re:Disable Prone
« Reply #1 on: 30 Apr 2005, 00:15:42 »
I have never had problems with this:
this setunitpos "UP"

Put the above line in the unit's init field.

-Student Pilot

Offline Morglor9

  • Members
  • *
Re:Disable Prone
« Reply #2 on: 30 Apr 2005, 05:43:53 »
do u want this on AI or player?
Cymbaline

DBR_ONIX

  • Guest
Re:Disable Prone
« Reply #3 on: 30 Apr 2005, 11:36:00 »
For AI, just setunitpos
For player.. Well, the Civil War mod stoped you, but replacing the ANIM.pbo
But not exactly easy, and nothing to stop the player deleteing that file and going prone
Hm, why'r you trying to stop the player going prone? Might be other way around it
- Ben

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:Disable Prone
« Reply #4 on: 30 Apr 2005, 17:28:58 »
Disabling prone is a big fat hairy hassle if you are trying to do it for the player. The only way I could think of would to be create a controlable dummy camera and check if at any time its speed is going down, if so you can assume the player has just pushed his prone button, howeve obviously this is a VERY buggy script and can be screwed up all to easily.
« Last Edit: 30 Apr 2005, 17:29:21 by RujiK »
I like your approach, lets see your departure.
Download the New Flashlight Script!