- Joined
- Mar 24, 2020
- Messages
- 80
Hi guys,
The game I've made relies quite heavily on a variety of factors that randomize within the first few seconds of game time. These include:
- Doodad & destructible locations.
- Region locations (for spawning).
The issue is, even when hosting online with real players, that the game doesn't randomize, it generates the same locations each times. An example of the trigger below.
The game I've made relies quite heavily on a variety of factors that randomize within the first few seconds of game time. These include:
- Doodad & destructible locations.
- Region locations (for spawning).
The issue is, even when hosting online with real players, that the game doesn't randomize, it generates the same locations each times. An example of the trigger below.
-
Spawn Domain Gates
-
Events
-
Time - Elapsed game time is 5.00 seconds
-
-
Conditions
-
Actions
-
Set VariableSet ZombieRandomSpawn[1] = (Random point in Main Map Cropped <gen>)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Centre <gen> contains ZombieRandomSpawn[1]) Equal to False
-
-
Then - Actions
-
Else - Actions
-
Set VariableSet ZombieRandomSpawn[1] = (Random point in Main Map <gen>)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Centre <gen> contains ZombieRandomSpawn[1]) Equal to False
-
-
Then - Actions
-
Else - Actions
-
Set VariableSet ZombieRandomSpawn[1] = (Random point in Main Map <gen>)
-
-
-
-
-
Region - Center Zombie Spawn 1 <gen> on ZombieRandomSpawn[1]
-
Set VariableSet DomainGateRegions[0] = Zombie Spawn 1 <gen>
-
Destructible - Pick every destructible within 2000.00 of ZombieRandomSpawn[1] and do (Destructible - Remove (Picked destructible))
-
Set VariableSet SpawnLocation = (Random point in Zombie Spawn 1 <gen>)
-
Unit - Create 1 Domain Gate for Player 12 (Brown) at SpawnLocation facing (Position of (Triggering unit))
-
Set VariableSet DomainGate[1] = (Last created unit)
-
Unit - Make (Last created unit) Invulnerable
-
Custom script: call RemoveLocation(udg_SpawnLocation)
-
Environment - Create Blight for Player 11 (Dark Green) from ZombieRandomSpawn[1] to a radius of 1500.00.
-
-