Home   Help Search Login Register  

Author Topic: Spawned Units Waypoints  (Read 1203 times)

0 Members and 1 Guest are viewing this topic.

polvy

  • Guest
Spawned Units Waypoints
« 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

Offline DrStrangelove

  • Members
  • *
  • Mr.Creative
Re:Spawned Units Waypoints
« Reply #1 on: 03 Jan 2004, 12:56:09 »
Code: [Select]
#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.
« Last Edit: 03 Jan 2004, 13:01:37 by DrStrangelove »

polvy

  • Guest
Re:Spawned Units Waypoints
« Reply #2 on: 04 Jan 2004, 03:01:41 »
IT WORKS!!! Thank you. Using this you can spawn with no units in the MP game at all till they spawn.