Home   Help Search Login Register  

Author Topic: Waypoints activating after cutscene?  (Read 1366 times)

0 Members and 1 Guest are viewing this topic.

Offline Rytuklis

  • Members
  • *
Waypoints activating after cutscene?
« on: 18 Sep 2011, 11:51:41 »
Ok ,i have scenario like this:

cutscene:

Radim talks with Andrej, after they finish talking, Andrej runs to the car slava is in and then they all drive away

So i did this:

_camera = "camera" camCreate [4944.09,6999.34,2.00]
_camera cameraEffect ["internal","back"]

_camera camSetTarget [-26413.48,-87959.29,160.20]
_camera camSetPos [4944.09,6999.34,2.00]
_camera camSetFOV 0.700
_camera camCommit 5
Radim setBehaviour "SAFE"
Andrej setBehaviour "SAFE"
@camCommitted _camera

_camera camSetTarget [-95050.08,8744.26,159.77]
_camera camSetPos [4934.32,6977.69,2.00]
_camera camSetFOV 0.700
_camera camCommit 3
@camCommitted _camera

_camera = "camera" camCreate [4931.78,6978.82,2.00]
_camera cameraEffect ["internal","back"]

_camera camSetTarget [-26786.23,-87857.70,160.07]
_camera camSetPos [4931.78,6978.82,2.00]
_camera camSetFOV 0.700
_camera camCommit 8
Radim playMove "FXshow1"
CutText [" Andrej, i and Slava will have to leave for scouting, so im not sure who to leave in charge while we're gone", "PLAIN DOWN"]
@camCommitted _camera

_camera camSetTarget [-68107.66,-54291.93,-30022.18]
_camera camSetPos [4932.88,6979.04,2.00]
_camera camSetFOV 0.700
_camera camCommit 8
Radim playMove "FXshow4"
CutText ["I think i can trust you Andrej, you have shown some outstanding skills in combat after all.", "PLAIN DOWN"]
@camCommitted _camera

_camera = "camera" camCreate [4931.74,6976.68,2.00]
_camera cameraEffect ["internal","back"]

_camera camSetTarget [-52906.38,85604.84,-21573.84]
_camera camSetPos [4931.74,6976.68,2.00]
_camera camSetFOV 0.700
_camera camCommit 8
Andrej playMove "EffectStandSalute"
CutText ["Yes sir! You can count on me, sir!", "PLAIN DOWN"]
@camCommitted _camera

goingscout = true

_camera camSetTarget Radim
_camera camSetPos [4936.99,6973.62,2.00]
_camera camSetFOV 0.700
_camera camCommit 14
@camCommitted _camera

Radimincar = true


then in the waypoint "condition field" i type in "goingscout = true"
and in the car's waypoint "conditionfield" i type in "radimincar = true"

But car drives away before Radimincar and Radim wont move... Help me out pls

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re: Waypoints activating after cutscene?
« Reply #1 on: 18 Sep 2011, 18:50:51 »
Instead of using the waypoint condition, put a trigger syncrinized to the the waypoint. Put your condition in the trigger and set the trigger type to "switch", once the trigger activates then the waypoint will activate.

Offline Rytuklis

  • Members
  • *
Re: Waypoints activating after cutscene?
« Reply #2 on: 18 Sep 2011, 18:51:46 »
Thanks , however, i have decided to use "Radim doMove GetPos object" , much easier, but thanks ;)