Home   Help Search Login Register  

Author Topic: in need of help again!  (Read 1237 times)

0 Members and 1 Guest are viewing this topic.

Offline Jffsieg

  • Members
  • *
in need of help again!
« on: 15 Apr 2007, 02:57:30 »
  Ok here's my problem, I have a trigger that is to go off when i enter a building, but if the enemy sees you then i dont want the cutscene to happen. so how do i do this?

Offline LeeHunt

  • Former Staff
  • ****
  • John 21:25
Re: in need of help again!
« Reply #1 on: 15 Apr 2007, 22:09:57 »
You could set up a trigger that says if West detected by East then in the Activation line put  "Nocutscene=true".  Then using F2 click on the trigger and drag it to the player, a line should connect the two.  Now if your player enters the building and is detected by the East, the global variable "Nocutscene" will be true. 

For your cutscene script, at the beginning you could have:

if (nocutscene) then {exit} else {goto"ShowtheFilm"} 

Or something like that....