Enabling/Disabling spawns...

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Mj
Map Reviewer
Posts: 1394
Joined: Sun Apr 25, 2004 3:36 pm
Location: England

Enabling/Disabling spawns...

Post by Mj »

I was just wondering, if there is a way to enable and disable spawnpoints when you reach a trigger, such as, if you get to the top of a hill, your team can then spawn on the hill?

Thanks,

Mj
ImageImage
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Yes... use the enablespawn and disablespawn commands :wink:

$myspawnpoint enablespawn
$myotherspawnpoint disablespawn
Image
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

isnt scripting a miracle ? :lol:
Image
User avatar
Mj
Map Reviewer
Posts: 1394
Joined: Sun Apr 25, 2004 3:36 pm
Location: England

Post by Mj »

Ooooh :) thanks!
ImageImage
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Post by Krane »

jv_map wrote:Yes... use the enablespawn and disablespawn commands :wink:

$myspawnpoint enablespawn
$myotherspawnpoint disablespawn
Can this apply to script origins? And how? Coz they all have the same targetname..
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Nope you can only apply it to spawnpoints :)
Image
Post Reply