Home   Help Search Login Register  

Author Topic: Moving during cutscene  (Read 435 times)

0 Members and 1 Guest are viewing this topic.

WAKA-WAKA

  • Guest
Moving during cutscene
« on: 20 Jul 2004, 17:55:01 »
How do u make a player move during the intro, when you want him to, without a waypoint. Or create a waypoint in the cutscene.sqs script, so he moves right after he say something?

Like

titlecut ["Time to kill some Soldiers","PLAIN",2]
~0

_cam camsettarget truck
_cam camsetrelpos [0,15,0]
_cam camcommit 0
@camcommitted _cam
~4

then i want him to move now.

Also can u make him move to an object or player, or do u have use courdinates?

Thanx

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Moving during cutscene
« Reply #1 on: 20 Jul 2004, 18:23:14 »
Use the move or domove command. You can use them with a set of coordinates or getpos an object coordinates.

titlecut ["Time to kill some Soldiers","PLAIN",2]
_cam camsettarget truck
_cam camsetrelpos [0,15,0]
_cam camcommit 0
~4
truck move getpos objectname

btw, 0 seconds delay is as good as nothing and @camcommitted _cam is also good for nothing after a 0 seconds commit time.
Not all is lost.

Dubieman

  • Guest
Re:Moving during cutscene
« Reply #2 on: 20 Jul 2004, 20:37:43 »
Why don't you use Messiah's tut on camera.sqs and the world of camera scripting as we know it (setarget d setrelpos 1,1,1) is made leagues easier.

I tried it and now I'm makin cutscenes like that.
*snaps fingers* :)

Yea or you can use delayed triggers too but domove and move work much better. :P

WAKA-WAKA

  • Guest
Re:Moving during cutscene
« Reply #3 on: 28 Jul 2004, 02:22:37 »
THANX GUYS