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
) »
Is there any way to activate a script when a unit has fired a weapon?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Is there any way to activate a script when a unit has fired a weapon? (Read 492 times)
0 Members and 1 Guest are viewing this topic.
Captain Wacky
Guest
Is there any way to activate a script when a unit has fired a weapon?
«
on:
05 Mar 2004, 13:45:04 »
I want a script to activate when a certain unit fires his gun, is there a command or variable that lets you see when a unit has fired so that you can activate a script?
Logged
macguba
Former Staff
Re:Is there any way to activate a script when a unit has fired a weapon?
«
Reply #1 on:
05 Mar 2004, 13:46:36 »
Yes.
You need to learn about eventHandlers, particularly "fired". Hunt around the Ed Depot, there's some good stuff on them there.
Logged
Plenty of
reviewed ArmA missions
for you to play
Captain Wacky
Guest
Re:Is there any way to activate a script when a unit has fired a weapon?
«
Reply #2 on:
05 Mar 2004, 13:50:22 »
Cheers, mate.
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
) »
Is there any way to activate a script when a unit has fired a weapon?
Top of page