OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bbe panther on 03 Feb 2003, 20:13:26

Title: move vehicle respawn (gamelogic)
Post by: bbe panther on 03 Feb 2003, 20:13:26
Hey ,
1st q) im working on a map and want to move a gamlogic so respawn of the vehicles wil move to the objective you have done.

2nd q) and want to move ammo crates that way to.

Can you help me out? :-\

Greetz =[BBE]= Panther ;)
Title: Re:move vehicle respawn (gamelogic)
Post by: Ranger on 03 Feb 2003, 20:20:33
Since gamelogics and crates are objects, you may use the setPos command.  Make sure you assign a name in the Name field for each of these objects, and then apply the setPos command.  E.g.:

logic1 setPos [x,y,z]

Where logic1 is an example name for your game logic, and x, y, and z are the coordinates where you want to move the object.  Use the same syntax for moving the crates.
Title: Re:move vehicle respawn (gamelogic)
Post by: bbe panther on 03 Feb 2003, 21:38:24
thx m8 :D
Title: Re:move vehicle respawn (gamelogic)
Post by: Ottie on 05 Feb 2003, 08:13:52
You can give the game logic waypoints