Home   Help Search Login Register  

Author Topic: setSpeedMode and setBahaviour  (Read 634 times)

0 Members and 1 Guest are viewing this topic.

gundernak

  • Guest
setSpeedMode and setBahaviour
« on: 09 Jan 2004, 15:06:17 »
I have a civil.
He has got an init waypoint with 'Safe' and 'Limited'

In a script I gave him:

civ01 doMove getPos ......
civ01 setSpeedMode "LIMITED"
civ01 setBehaviour "SAFE"

and inspite he runs to the position I have sent him...

I would like him to just walk...

What is wrong?

thanks in advance

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:setSpeedMode and setBahaviour
« Reply #1 on: 09 Jan 2004, 18:25:54 »
I have never found another answer to this than OFP Bug...  >:(

The same problem has been there from the beginning...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:setSpeedMode and setBahaviour
« Reply #2 on: 09 Jan 2004, 19:36:21 »
Set him to careless if you can rather than safe.
Not all is lost.

gundernak

  • Guest
Re:setSpeedMode and setBahaviour
« Reply #3 on: 09 Jan 2004, 20:40:18 »
Ok thanks guys,

I do have to use careless, because my civilians are running up and down, and it is really looks confusing and stupid.

gundernak

  • Guest
Re:setSpeedMode and setBahaviour
« Reply #4 on: 10 Jan 2004, 00:36:31 »
I was experimenting a lot and I can say:

it does not depend on using 'safe' or 'careless'. After doMove the unit simply do not want to just walk. He always runs.

Actually I was beginnig to built a mission which based on civilians in a town.
But without I can set them just walk, I am afraid it's impossible.... :'(

They are running... >:(

Can anybody add something to this situation?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:setSpeedMode and setBahaviour
« Reply #5 on: 10 Jan 2004, 01:32:02 »
Why not just use waypoints and setWPPos?      
Plenty of reviewed ArmA missions for you to play

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:setSpeedMode and setBahaviour
« Reply #6 on: 10 Jan 2004, 09:19:18 »
Perhaps the civ only runs if the waypoint is far away from him. So perhaps if you set a waypoint about 5-10 meters away from him, he will walk to it. If that were the case, perhaps you could just move that waypoint again and again, about 5-10 meters away from him, and perhaps he would walk that way. Perhaps not though.  :-\
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

gundernak

  • Guest
Re:setSpeedMode and setBahaviour
« Reply #7 on: 10 Jan 2004, 14:29:30 »
I can not use waypoints.

I want to doMove them in a running script...

As I wrote I was beginnig to build a situation in a town with living civilians...

And for more difficult situation I wrote scripts...

I saw this problem before....I trusted you could handle this bug somehow :-\

anyway thanks!


Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:setSpeedMode and setBahaviour
« Reply #8 on: 10 Jan 2004, 19:00:25 »
just use da move command instead of domove ;)

civ01 Move getPos ......
civ01 setSpeedMode "LIMITED"
civ01 setBehaviour "SAFE"

den itll work

as units ignore deir instructiuns w/ domove

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

gundernak

  • Guest
Re:setSpeedMode and setBahaviour
« Reply #9 on: 10 Jan 2004, 21:30:26 »
 :-X ;D

MAN!

amazing...I tryed and oK!

I just tought there is no way to solve this...

THANKS A LOT!


Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:setSpeedMode and setBahaviour
« Reply #10 on: 10 Jan 2004, 21:48:43 »
 8)

hpy i helped ya ;)

just use da solve bottun if deres no prob left ;) it shud b around here somwere

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta