Yeah, that's easy:Mav3r1ck wrote: EDIT: Gutawer, that method you showed me to randomize the switches at the start of each map. Can I also use the same method to randomize things?
Say for example, I have multiple map spots and at the start of a level only one is selected to spawn a weapon, health or some ammo?
Code: Select all
script "Generate Map Spot + Spawn Item" OPEN {
int mapSpotToSpawnAt = random(***FIRST MAP SPOT ID HERE***, ***LAST MAP SPOT ID HERE***);
//then just use SpawnSpotFacing, Thing_Spawn, TeleportOther, whatever you want with the thing id set to mapSpotToSpawnAt.
}