Home   Help Search Login Register  

Author Topic: Animate unconsciousness  (Read 639 times)

0 Members and 1 Guest are viewing this topic.

front-soldier

  • Guest
Animate unconsciousness
« on: 01 Dec 2005, 15:26:51 »
i have a question, i try to animate unconsciousness;
the way's like this: the player1 hast to come to a target by an uh60 and on the way there are 3 shilkas. When the uh60 crash into the ground, player1 has to eject bevore, then there should come a "black in" then a titlecut "some hours later" and finally there have to come a "black out". Like player1 had a blackout!!
Then it is night and the player changed his position (thanks to LoTekK for the script how to change position).

Now the question: How can i make a script with black in & out?

i've tried:

the "black in" command is on effects on the trigger who's condition is
Code: [Select]
not alive heli1 (heli1 variable for uh60). And OnActivation is:
Code: [Select]
this exec "blackout.sqs" - I think that's clear ..
the "black in" is:
Code: [Select]
~3
titleEffect="Black In"
player1 setpos getpos dummy
- dummy is a gamelogic placed on the place where the player shoul spawn.

So but my script doesn't work !!! it's only black but the picture never return!!

So any ideas?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Animate unconsciousness
« Reply #1 on: 01 Dec 2005, 15:35:07 »
Sadly, simply making up your own commands doesn't work in OFP.   ;D

http://www.ofpec.com/editors/comref.php?letter=C#cutText

and associated commands.

Don't use the trigger effects if you're running a script as well - do it all in the script, then things won't get confused.

And make sure you have blackin and blackout the right way round.   Blackout means that the screen fades to black.   Blackin means that the screen instantly goes black, and then fades back into normal.
« Last Edit: 01 Dec 2005, 15:37:58 by macguba »
Plenty of reviewed ArmA missions for you to play

front-soldier

  • Guest
Re:Animate unconsciousness
« Reply #2 on: 01 Dec 2005, 15:41:26 »
oh .. ok  ;D ;D ;D thanky you ..

i'll try it !

Quote
i want to make my own commands !!