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 General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
player's behaivour
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: player's behaivour (Read 1159 times)
0 Members and 1 Guest are viewing this topic.
TonyRanger
Members
I'm a llama!
player's behaivour
«
on:
19 Mar 2004, 13:48:22 »
how to know player's behaivour,I want make a mission which player is a spy and when play "m16 onback" enemy only notice him,but If play "m16 on hands"you'll be notice then enemy'll shoot you.
Logged
macguba
Former Staff
Re: player's behaivour
«
Reply #1 on:
19 Mar 2004, 14:39:26 »
behaviour unit
Operand types:
unit: Object
Type of returned value:
String
Description:
Behaviour mode of given unit ("CARELESS","SAFE","AWARE","COMBAT","STEALTH")
Example:
behaviour player
Logged
Plenty of
reviewed ArmA missions
for you to play
Loup-Garou
Guest
Re: player's behaivour
«
Reply #2 on:
19 Mar 2004, 21:45:05 »
You can modify the initial behaviour of a unit by typing this in her init field ("Initialization" in the box "edit unit" in the editor) : this setBehaviour "safe" (or "aware", or "careless", and so on). Also remember to use the SEARCH function in the forum before posting (I believe that your problem may be common... ;D).
Happy editing !
Logged
TonyRanger
Members
I'm a llama!
Re: player's behaivour
«
Reply #3 on:
21 Mar 2004, 14:19:08 »
but it's not work.even to AI soldier,he can behaivour"aware" when he is lying
Logged
dmakatra
Members
Better known as Armsty
Re: player's behaivour
«
Reply #4 on:
21 Mar 2004, 16:49:55 »
When a soldier is lying he has either "aware", "combat" or "stealth" behaviour.
:beat: *Gets Shot* :beat:
Logged
TonyRanger
Members
I'm a llama!
Re: player's behaivour
«
Reply #5 on:
22 Mar 2004, 14:25:45 »
so how can we distinguish a man is lying or standing?
Logged
TonyRanger
Members
I'm a llama!
Re: player's behaivour
«
Reply #6 on:
23 Mar 2004, 12:48:35 »
hello,I need help.
Logged
macguba
Former Staff
Re: player's behaivour
«
Reply #7 on:
23 Mar 2004, 19:07:36 »
Can you use getpos for that? Not sure. Try it and see. Maybe something like
getpos loon1 select 2 < 0.5
for lying down.
Logged
Plenty of
reviewed ArmA missions
for you to play
TonyRanger
Members
I'm a llama!
Re: player's behaivour
«
Reply #8 on:
24 Mar 2004, 03:44:29 »
but a standing man getpos this select 2 =0,isn't iT?
Logged
macguba
Former Staff
Re: player's behaivour
«
Reply #9 on:
24 Mar 2004, 09:15:21 »
I don't know, why don't you try it and see.
Logged
Plenty of
reviewed ArmA missions
for you to play
TonyRanger
Members
I'm a llama!
Re: player's behaivour
«
Reply #10 on:
24 Mar 2004, 11:59:02 »
on the way.
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
player's behaivour
Top of page