OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: pexmo on 10 Dec 2004, 12:57:08
-
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?
-
disableuserinput false
would that work?
(maybe this should be in the MP board)
-
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
-
wher edo i put these lines in mate ? I dint write the script :)
-
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?`
-
Is there another wat then using disableuser input?