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
) »
Cutscene problem
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Cutscene problem (Read 457 times)
0 Members and 1 Guest are viewing this topic.
max_killer_payne
Guest
Cutscene problem
«
on:
31 May 2003, 20:36:20 »
Yeh. im about 90% completing a mission and its got quite a few cutscenes. But for instance, at one point your squad splits up and you go off and complete a different objective, then when you get back you speak to your squad. But what if the guy you speak to has already been killed? Whats the command to check if he is dead and if he is make the camera target some one else?
Logged
Knut Erik
Guest
Re:Cutscene problem
«
Reply #1 on:
31 May 2003, 22:54:06 »
The command to detect that a unit is dead is:
not (alive UnitName)
To detect that a unit is alive is:
alive UnitName
If you put it in a script, it would look like this:
?alive unitName
This command needs to be attached with a command like this:
?alive unitName : goto "Next"
You can make a script wait untill a unit is dead:
@not (Alive UnitName)
You get it ;D
Logged
macguba
Former Staff
Re:Cutscene problem
«
Reply #2 on:
01 Jun 2003, 00:59:09 »
Sometimes you can get past this by using the leader of a group. That is, instead of having the camera focus on a loon called, say, loon1, have it focus on
leader grpAlpha
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
) »
Cutscene problem
Top of page