Home   Help Search Login Register  

Author Topic: Progressive respawning (Easy Question)  (Read 1512 times)

0 Members and 1 Guest are viewing this topic.

Offline Ding

  • Contributing Member
  • **
  • Jurassic Park
Progressive respawning (Easy Question)
« on: 28 Jun 2006, 10:21:20 »
Im a bit of a newb to Multiplayer scripting, And im trying to make it so that the players progressivly respawn, E.g.

Starting on the beach until the Lighthouse is captured respawn is on the beach, once the Lighthouse is captured respawn will move up to the lighthouse until the town is captured...

Well what I have done is the following,

created the Description with respawn set in "Base" mode,

I have created a marker named "Respawn_west" on the beach, and have placed a game logic named "Spawn2" by the light house.

Once the lighthouse is captured I have put this in the script file:

_Spawn2 = Spawn2
"Respawn_west" SetMarkerPos _Spawn2

but I recieve an error message and spawn remains on the beach, Can someone help me with the Stupid mistake I have made, thanks :)
"If I remain lost and die on a cross, atleast I wasn't born in a manger"

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re: Progressive respawning (Easy Question)
« Reply #1 on: 28 Jun 2006, 11:16:20 »
Code: [Select]
"Respawn_west" SetMarkerPos getpos Spawn2

Offline Ding

  • Contributing Member
  • **
  • Jurassic Park
Re: Progressive respawning (Easy Question)
« Reply #2 on: 28 Jun 2006, 16:56:01 »
Thankyou bedges you are a king among men.  ;)
"If I remain lost and die on a cross, atleast I wasn't born in a manger"