Home   Help Search Login Register  

Author Topic: "Schlow down! You can't rush these thingsh"  (Read 755 times)

0 Members and 1 Guest are viewing this topic.

Offline Grinning_Giant

  • Members
  • *
  • Do not let them get away with it!
"Schlow down! You can't rush these thingsh"
« on: 08 Jul 2003, 15:00:02 »
Hey Chaps.

I'm making a cutscene which uses the "DoMove" Command

I want my AI character to move to a Logic called "BossChat", and I want him to do it slowly.

here is an excerpt from my code:

Code: [Select]
_Unit2 setSpeedMode "LIMITED"
_Unit2 doMove getPos BossChat

I exec this and "_Unit2" still runs to the BossChat logic. What do i need to do to make him Schlow Down?

« Last Edit: 08 Jul 2003, 15:03:29 by Grinning_Giant »

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:"Schlow down! You can't rush these thingsh"
« Reply #1 on: 08 Jul 2003, 15:33:18 »
 :) a normal "limited" WP with a "Careless" behaviour should do it, m8

but if you wanna use a slow walk (playmove/swissccchhhmove..), try this :


  bob setDir 234; bob playmove "standWalkF"

 or some of those similar spells - check the referrence!  :-*

« Last Edit: 08 Jul 2003, 15:33:57 by Tomb »

Offline Grinning_Giant

  • Members
  • *
  • Do not let them get away with it!
Re:"Schlow down! You can't rush these thingsh"
« Reply #2 on: 08 Jul 2003, 15:47:59 »

Cheers Tomb...

I guess I'll have to use a waypoint. The playmove will require loops and I just can't be arsed  ;)


BTW "_Unit2" is a civilian.
« Last Edit: 08 Jul 2003, 15:50:03 by Grinning_Giant »

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:"Schlow down! You can't rush these thingsh"
« Reply #3 on: 08 Jul 2003, 16:06:21 »

Cheers Tomb...

I guess I'll have to use a waypoint. The playmove will require loops and I just can't be arsed  ;)


 ;D LOL

 :o But you SHOULD be arsed, man!  >:( :D - 'tis the only way to supercool missions/cutScenes etc.  8) :-*

An' it doesn't take much:

                [bob] exec "play.sqs"

...and the scroll  goes...

=================================
#Play
? endit: exit
unitName playmove "EffectStandTalk"
~0.2
goto "Play"
=================================

so when "endit" becomes true in some trigger or whatever, the scroll ends! simple as that, m8
put it in the mission folder and let bob fire it - you WILL do that!  >:( ;D ;)