i need a buttom which can be activated only by the allies and remove some axis's spawn and replace them whit allies's spawn and also switch on some light
the axis can deactivate it and than they get back their spawn and remove the allies's and also switch off the lights
is it possible ? sry but i'm noob for scripting.
buttom that...
Moderator: Moderators
spawnpoints that go on and off
This is very possible, If you don't mind materials appearing where those spawnpoints are.
There is another method you can use, but it is more permenant. You can have it scripted with:
If you use this, it will dissappear forever, and I do not know the code for "unremoving" things. The benefit though is that there wont be a column of glass somewhere in your map.
- 1.) Make a trigger that the allies can use.
2.) Make a func/door that is as big as the spawnpoint and texture it as glass. This is invisable.
3.) Make the door go up and start underground in order to block the spawn at a later time.
4.) Give the door a targetname like "spawnblocker1" and target it with the trigger use.
There is another method you can use, but it is more permenant. You can have it scripted with:
Code: Select all
$spawnblocker1 remove