OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Killzone on 03 Jul 2004, 20:51:22

Title: whats wrong with this?
Post by: Killzone on 03 Jul 2004, 20:51:22
Hello I am trying to make the this script work. It works fine until I want the bus to actually move to the position (gl1) It creates everything perfect and yes I do have a gamelogic down named gl1 why wont the unit drive to that position? >:( >: :'(

bus1 = "bus" createvehicle getpos a;

man1 ="bas_ranger" createvehicle getPos a

man1 moveindriver bus1

~4

man1 domove getpos gl1

_________
I am grateful for any help  ;D
Title: Re:whats wrong with this?
Post by: CrashnBurn on 04 Jul 2004, 00:32:59
try:

bus1 move getpos gl1

Also, I don't see how it's possible to create a ranger with createvehicle command. Should be a createunit string. If you were able to do it with createvehicle chances are it has no AI and won't do anything.