Home   Help Search Login Register  

Author Topic: Making a loon walk to a getpos destination  (Read 660 times)

0 Members and 1 Guest are viewing this topic.

cirkut5732

  • Guest
Making a loon walk to a getpos destination
« on: 17 Jul 2005, 03:24:17 »
Hey guys
  I have a loon and a trigger used as gamelogic called dest. So in my sqs script i got..

loon setbehaviour "safe"
loon domove getpos dest

Now beeing that he is in "safe" mode why does he still full sprint to the game logic trigger?
I need him to walk
Anyhelp would be great!

j-man

  • Guest
Re:Making a loon walk to a getpos destination
« Reply #1 on: 17 Jul 2005, 06:32:11 »
loon setSpeedMode "LIMITED"

will help solve your problem I think.
« Last Edit: 17 Jul 2005, 06:32:49 by j-man »

cirkut5732

  • Guest
Re:Making a loon walk to a getpos destination
« Reply #2 on: 17 Jul 2005, 07:01:01 »
Great!! Thanks a bunch I will try that and post back so others can use it!

Dane

  • Guest
Re:Making a loon walk to a getpos destination
« Reply #3 on: 17 Jul 2005, 11:25:36 »
 ::) I'm 99% sure the setSpeedMode command only work with groups and waypoints (group1 setSpeedMode "limited").

If you issue a "doMove" command the unit will always sprint to the spot.

But i'm only 99% sure :P
« Last Edit: 17 Jul 2005, 11:27:15 by Dane »

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Making a loon walk to a getpos destination
« Reply #4 on: 17 Jul 2005, 16:27:44 »
well, assuming he is in his own group, (group loon) setspeedmode "limited"

cirkut5732

  • Guest
Re:Making a loon walk to a getpos destination
« Reply #5 on: 17 Jul 2005, 22:42:39 »
He is a sinlge loon so I will group him if I need to, Im gonna try this right now Ill post back with the answer in a sec!!

Offline Blanco

  • Former Staff
  • ****
Re:Making a loon walk to a getpos destination
« Reply #6 on: 17 Jul 2005, 23:14:02 »
He is a sinlge loon so I will group him if I need to, Im gonna try this right now Ill post back with the answer in a sec!!

NO, don't group him.
In OFP every single unit IS a group, it's just a one man group.
Use Triggerhappy's code...

Code: [Select]
(group loon) setspeedmode "limited"

« Last Edit: 17 Jul 2005, 23:15:40 by Blanco »
Search or search or search before you ask.

cirkut5732

  • Guest
Re:Making a loon walk to a getpos destination
« Reply #7 on: 17 Jul 2005, 23:17:48 »
Worked great!! You guys are the best!!