OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: polvy on 03 Jan 2004, 09:41:59
-
need to add more waypoints to this:
?not(local server):exit
~6
_T8011 = "T80" createvehicle getmarkerpos "T8011"
~2
"SoldierECrew" createunit [getmarkerpos "T8011crew",crew11,"c1=this",0.8,"SERGEANT"]
"SoldierECrew" createunit [getmarkerpos "T8011crew",crew11,"c2=this",0.8,"CORPORAL"]
"SoldierECrew" createunit [getmarkerpos "T8011crew",crew11,"c3=this",0.8,"PRIVATE"]
~2
c1 moveincommander _T8011
c2 moveingunner _T8011
c3 moveindriver _T8011
~2
crew11 move getmarkerpos "T8011move"
NEED EXAMPLE OF HOW TO MAKE THEM MOVE ON TO ANOTHER WAYPOINT HERE.
Thanks Fellas,
~Polvy
-
#waypoints
crew11 move getmarkerpos "t8011move"
@(unitready crew11)
~20
crew11 move getmarkerpos "t8011move_1"
@(unitready crew11)
~20
crew11 move getmarkerpos "t8011move_2"
@(unitready crew11)
~20
goto "waypoints"
Delete your last line and replace it with this section. This way they'll circle the 3 waypoints, pausing 20 seconds at each one. You'll have to copy&paste the "t8011move" marker 2 times, resulting in "t8011move_1" and "t8011move_2" normally. NOT TESTED.
-
IT WORKS!!! Thank you. Using this you can spawn with no units in the MP game at all till they spawn.