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
) »
Check if there are enemies in trigger.
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Check if there are enemies in trigger. (Read 616 times)
0 Members and 1 Guest are viewing this topic.
Dominaatori
Guest
Check if there are enemies in trigger.
«
on:
09 Nov 2004, 07:07:24 »
in the condition field in a trigger can u this:
EAST CountSide ppl == 0
to check if there are anyone in that trigger ?'
If not then how is it done ?
Logged
Sentinel
Contributing Member
World is tough and I'm tougher!!
Re:Check if there are enemies in trigger.
«
Reply #1 on:
09 Nov 2004, 10:32:16 »
I think you should place thislist instead of ppl
east countside thislist == 0
don't know for sure
Logged
Triggerhappy
Contributing Member
Llama, it's what's for dinner.
Re:Check if there are enemies in trigger.
«
Reply #2 on:
09 Nov 2004, 10:34:01 »
uhh... couldn't you just use east not present?
Logged
Sliding plane crash script
Arrest script
Dominaatori
Guest
Re:Check if there are enemies in trigger.
«
Reply #3 on:
09 Nov 2004, 13:37:41 »
yes I know trigger, I just wanted to get hang of scripting. And btw sentinel, ppl is just a variable, it could be anything, f.ex. fjidgölksdjgölkjsdfg
Logged
THobson
OFPEC Patron
Former Staff
Re:Check if there are enemies in trigger.
«
Reply #4 on:
09 Nov 2004, 15:01:00 »
In the spirit of trying to get the hang of things. Are you aware that thislist
in the activation field of a trigger will be an array of all the units that have caused the trigger to fire?
Logged
Dominaatori
Guest
Re:Check if there are enemies in trigger.
«
Reply #5 on:
09 Nov 2004, 16:22:46 »
Oh ok, but im talking about condition field.
Logged
macguba
Former Staff
Re:Check if there are enemies in trigger.
«
Reply #6 on:
09 Nov 2004, 16:33:09 »
I'm too thick to understand this thread at all.
1.
Quote
EAST CountSide ppl == 0
What happened when you tried it?
2. How does that line of code relate to the trigger area? What are you trying to do? ppl is obviously an array of units, but what units?
3.
thislist
works fine in the Condition field.
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
) »
Check if there are enemies in trigger.
Top of page