Home   Help Search Login Register  

Author Topic: Is there a command to make a player unable to control his character in mp?  (Read 1452 times)

0 Members and 1 Guest are viewing this topic.

Offline pexmo

  • Members
  • *
  • I'm a llama!
I want to use this with a script i downloaded that has the ai unable to move and shoot when wounded. At first it seems that it works with players to but if i try i can get my soldier to move on out of there.

this is the script:

http://www.ofpec.com/yabbse/attachments/kmkSimpleWoundScript.zip

edit: Another question, is there a way that i can, using this script, add that the enemy wont continue shooting on a "out of the fight" soldier until he is healed back up?
« Last Edit: 10 Dec 2004, 12:58:24 by pexmo »

bored_onion

  • Guest
disableuserinput false

would that work?

(maybe this should be in the MP board)

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
for the second one:_guy setcaptive true
then when he is healed:_guy setcaptive false

i'm using _guy because that is the units variable in the script

Offline pexmo

  • Members
  • *
  • I'm a llama!
wher edo i put these lines in mate ? I dint write the script :)

Offline pexmo

  • Members
  • *
  • I'm a llama!
Ok, the setcaptive part works. But i just cant get the disableuserinput part to work for the downed player. How would i put in that syntax?`


Offline pexmo

  • Members
  • *
  • I'm a llama!
Is there another wat then using disableuser input?