summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Misc.c4d
diff options
context:
space:
mode:
Diffstat (limited to 'TemplePushing.c4s/Misc.c4d')
-rw-r--r--TemplePushing.c4s/Misc.c4d/SpawnPointSpawner.c4d/Script.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/TemplePushing.c4s/Misc.c4d/SpawnPointSpawner.c4d/Script.c b/TemplePushing.c4s/Misc.c4d/SpawnPointSpawner.c4d/Script.c
index 380ee86..a15661c 100644
--- a/TemplePushing.c4s/Misc.c4d/SpawnPointSpawner.c4d/Script.c
+++ b/TemplePushing.c4s/Misc.c4d/SpawnPointSpawner.c4d/Script.c
@@ -4,15 +4,12 @@
local locations, definitions, spawnInterval;
local sumProbability;
-local gamma;
public func CreateSpawnPoints()
{
for (var pos in locations)
{
- var spawnpoint = CreateObject(SNPT, pos[0], pos[1], NO_OWNER);
- if (gamma) spawnpoint->SetGamma(gamma[0], gamma[1], gamma[2]);
- spawnpoint->Enable(this);
+ CreateObject(SNPT, pos[0], pos[1], NO_OWNER)->Enable(this);
}
}
@@ -34,11 +31,6 @@ public func SetDefinitions(array definitions)
}
}
-public func SetSpawnpointGamma(int color1, int color2, int color3)
-{
- gamma = [color1, color2, color3];
-}
-
public func GetSpawnInterval() { return spawnInterval; }
public func SetSpawnInterval(int spawnInterval)