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
) »
Count
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Count (Read 418 times)
0 Members and 1 Guest are viewing this topic.
BoT
Guest
Count
«
on:
21 Dec 2004, 17:34:29 »
I need to count untis in trigger, who are owned by east side. Please, help me to create a script.
And i need some information about AddEventHandler (killed). Where can i find it?
Logged
THobson
OFPEC Patron
Former Staff
Re:Count
«
Reply #1 on:
21 Dec 2004, 19:00:31 »
trigger when east is present. Give the trigger a name - say TrigEast.
Then:
count list TrigEast
will give you what you want.
syntax not guaranteed.
On addEventHandler
Look in Editors Dept/Online References/Commands
«
Last Edit: 21 Dec 2004, 19:05:28 by THobson
»
Logged
bored_onion
Guest
Re:Count
«
Reply #2 on:
21 Dec 2004, 19:25:44 »
yeah tutorial is the best for eventhandlers
although basic syntax is:
Code:
[Select]
unit addeventhandler ["typeofevent",{thing to do}]
the type of the event can be loads of stuff like "fired","hit", "killed" and it is a very useful device
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
) »
Count
Top of page