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
) »
condition of presence
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: condition of presence (Read 1087 times)
0 Members and 2 Guests are viewing this topic.
surpher
Members
condition of presence
«
on:
12 Jun 2004, 16:43:55 »
Hi all :wave:
Does condition of presence in the edit unit menu work?. Seems pretty basic but I cannot get it to work
Logged
CrashnBurn
Guest
Re:condition of presence
«
Reply #1 on:
12 Jun 2004, 16:54:16 »
condition of presence has to be something that is true or false at mission load. It can NOT be something that happens later in the mission. About the only thing I ever used it for is to have a unit present or not based on players chosen skill setting. Example condition-
! cadetmode
The above condition is either true or false at mission load, so it works fine. If you place a condition there that won't happen until later in the mission, you're basically expecting the units initialization to act as a trigger to periodically check your condition and it doesn't work that way. All initialization parameters are finalized at mission load. I hope this explains it ??
To have a unit placed later on, the 'createunit' command is your friend. Get my createunit tutorial here--->
http://www.ofpec.com/includes/download2.php?id=603
«
Last Edit: 12 Jun 2004, 17:11:19 by CrashnBurn
»
Logged
surpher
Members
Re:condition of presence
«
Reply #2 on:
12 Jun 2004, 17:03:18 »
That's why I can't get it to work then. I hoped to have a unit appear part way through a mission. Thanks for your help
CrashnBurn
:cheers:
Logged
macguba
Former Staff
Re:condition of presence
«
Reply #3 on:
12 Jun 2004, 18:51:11 »
I use it to make random patrols. Create the patrol commander, give him a probability of presence and write
alive commandername
in the condition of presence field of each of his squad. That way, they only appear if he does.
Logged
Plenty of
reviewed ArmA missions
for you to play
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
) »
condition of presence
Top of page