Page 1 of 1

move AI from point A to point B

Posted: Sat Nov 03, 2007 11:10 am
by L0d3x
Howdie everybody!

I'm trying to get a squad of marines to move from their starting positions to somewhere else. I tried the following:

I created an encounter called 'Marines'. In this encounter I made a marine squad called 'Marines1'. I assigned a command line to them which tells them to move to a certain command point (which I also placed on the map). I put the status of this marine squad to alert in all status boxes. I also created move positions but am not sure if this makes a difference.

Anyways I do not see my ai move at all if I do all this, so I decided to make a simple script. The one I used is:

Code: Select all

(script startup moveMarines1
(sleep 20)
(ai_command_list Marines Marines1advance)
(sleep 20)
(ai_command_list_advance Marines)
)
The script compiles fine and all. But again this doesn't seem to get them to move...

Could someone please tell me what I might be doing wrong?
I will reward you with some fine belgian chocolate!

Peace and love
L0d3x

Posted: Sat Nov 03, 2007 1:53 pm
by Andrew_b
uhh

well did you restart sapien to see if the command worked?

you have to restart.

Posted: Sun Nov 04, 2007 1:22 am
by L0d3x
Alright I got it to work. In my command list Marines1Move I had set them to move blindly towards some point. I changed that to 'go to' and it magically worked!

Anyways thanks for you time.

Peace and love
L0d3x

Posted: Sun Nov 04, 2007 6:16 am
by hell_knight
how die? u wish 4 us to die? :(
its spelled howdy and the cowboys in america are very picky aboot these things

Posted: Sun Nov 04, 2007 6:28 am
by L0d3x
Hehe :P

Sorry about that, I'll remeber that for my next question 8)