-
Sheep Spawn player 1
-

Events
-


Time - Every 30.00 seconds of game time
-

Conditions
-

Actions
-


For each integer A from 1 to *YourPlayerNumber* do (Actions):
-



Loop - Actions
-



Set number = ((Current research level of More Sheep for Player(Integer A)) + 3)
-



Set temp_point = (Random Point in Region[Integer A])
-



For each integer B from 1 to number do (Actions):
-




Loop - Actions
-




Destructible - Create a Sheep (Tree) at temp_point facing (Random angle) with scale 1.50 and variation 0
-



Custom script: call RemoveLocation (udg_temp_point)
It will run the loop for 1, 2, 3, 4 5... etc untill your number of players. Lets take the 1.
-
Sheep Spawn player 1
-

Events
-


Time - Every 30.00 seconds of game time
-

Conditions
-

Actions
-


Set number = ((Current research level of More Sheep for Player(1) + 3)
-


Set temp_point = (Random Point in Region[1])
-


For each integer B from 1 to number do (Actions):
-



Loop - Actions
-



Destructible - Create a Sheep (Tree) at temp_point facing (Random angle) with scale 1.50 and variation 0
-


Custom script: call RemoveLocation (udg_temp_point)
It's important to know that "For each Integer A" it will create the Temp_Point, so, for each integer A, you have to remove it too inside the loop
- When it runs for Integer A = 1, It will turn all the values inside the loop using [Integer A] to 1.
- When Integer A = 3, It will turn all the values inside the loop using [Integer A] to 3.
So, when you say "For Each integer A from 1 to 5", it will run the trigger 5 times making A=1, A=2, A=3, A=4, A=5.