moving spawn?


(Moedervlekje) #1

Would it be possible to make a landing boat( http://www.crazybulletclan.nl/Random%20image/Ohama.jpg ) that is moving from a certain place to the beach. And make it allied spawn. They would have a 1 sec spawn time, and then they would be placed in the boat. Starting position to beach would take 20 secs wich would be the actual spawn time, as the allies can’t exit the boat before the ending place.


(isbowhten) #2

spawns can move… use gotomarker command<- this commadn affects even spawns

gotomarker works liek that: it “saves” both coordiantes and moves to the targeted coordinates…
it CANT do any other move before this move has been done.

make a loop where the spawn entities follow script_movers attached to the boat with tags.
while the spawn is following a bit the boat (with “saved” coordiantes) the boat moves further away, so at the end of spawn-move it is again the same distance away from boat… make the gotomarker speed ahnd the speed of the boat the same and it hsould be perfect following.