Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting Multiplayer
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Is there a command to make a player unable to control his character in mp?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Is there a command to make a player unable to control his character in mp? (Read 1453 times)
0 Members and 2 Guests are viewing this topic.
pexmo
Members
I'm a llama!
Is there a command to make a player unable to control his character in mp?
«
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?
«
Last Edit: 10 Dec 2004, 12:58:24 by pexmo
»
Logged
bored_onion
Guest
Re:Is there a command to make a player unable to control his character in mp?
«
Reply #1 on:
10 Dec 2004, 20:42:39 »
disableuserinput false
would that work?
(maybe this should be in the MP board)
Logged
Triggerhappy
Contributing Member
Llama, it's what's for dinner.
Re:Is there a command to make a player unable to control his character in mp?
«
Reply #2 on:
11 Dec 2004, 00:45:57 »
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
Logged
Sliding plane crash script
Arrest script
pexmo
Members
I'm a llama!
Re:Is there a command to make a player unable to control his character in mp?
«
Reply #3 on:
12 Dec 2004, 19:21:17 »
wher edo i put these lines in mate ? I dint write the script
Logged
pexmo
Members
I'm a llama!
Re:Is there a command to make a player unable to control his character in mp?
«
Reply #4 on:
14 Dec 2004, 07:34:28 »
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?`
Logged
pexmo
Members
I'm a llama!
Re:Is there a command to make a player unable to control his character in mp?
«
Reply #5 on:
14 Dec 2004, 14:06:32 »
Is there another wat then using disableuser input?
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting Multiplayer
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Is there a command to make a player unable to control his character in mp?
Top of page