Home   Help Search Login Register  

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?

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 ;)


Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
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
Plenty of reviewed ArmA missions for you to play