remove(this);
}
+void gamestart_use_this(entity this)
+{
+ gamestart_use(this, NULL, NULL);
+}
+
void self_spawnfunc_trigger_gamestart();
spawnfunc(trigger_gamestart)
{
this.nextthink = game_starttime + this.wait;
}
else
- InitializeEntity(this, adaptor_think2use, INITPRIO_FINDTARGET);
+ InitializeEntity(this, gamestart_use_this, INITPRIO_FINDTARGET);
}
void self_spawnfunc_trigger_gamestart() { SELFPARAM(); spawnfunc_trigger_gamestart(this); }
WITHSELF(it, turret_respawn());
));
}
+void assault_roundstart_use_this(entity this)
+{
+ assault_roundstart_use(this, NULL, NULL);
+}
void assault_roundstart_use_self()
{
SELFPARAM();
assault_attacker_team = NUM_TEAM_1;
self.classname = "target_assault_roundstart";
- self.use = assault_roundstart_use;
+ self.use1 = assault_roundstart_use;
self.reset2 = assault_roundstart_use_self;
- InitializeEntity(self, assault_roundstart_use_self, INITPRIO_FINDTARGET);
+ InitializeEntity(self, assault_roundstart_use_this, INITPRIO_FINDTARGET);
}
// legacy bot code