Hello everyone,
i'm trying make one system, but i'm infrented some problem and i don't know how to identify.
Well, first, the system is made so that when 2 units enter 1 construction, have the chance to generate another unit.
I have it:
RepIntegerPorcent Less than or equal to (100 = FOR TEST)
RepIntegerPorcent = (Random integer number between 1 and 100)
This:
But I dont understand what's happening with the AND. I need the 2 units to be inside, not just 1
If anyone knows what happens there. Please help me.
Thanks in advance
i'm trying make one system, but i'm infrented some problem and i don't know how to identify.
Well, first, the system is made so that when 2 units enter 1 construction, have the chance to generate another unit.
I have it:
-
Events
-

Unit - A unit Is loaded into a transport
-
-
Conditions
-

(Unit-type of (Transporting unit)) Equal to Barrow Den
-
-
Actions
-

Game - Display to (All players) the text: TEST
-

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-


If - Conditions
-



And - All (Conditions) are true
-




Conditions
-





(Unit-type of (Loading unit)) Equal to Demon Hunter
-





(Unit-type of (Loading unit)) Equal to Warden
-
-
-
-


Then - Actions
-



Game - Display to (All players) the text: TEST2
-



If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-




If - Conditions
-





RepIntegerPorcent Less than or equal to 100
-
-




Then - Actions
-





Unit - Create 1 Furion for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
-
-




Else - Actions
-
-
-


Else - Actions
-
-
RepIntegerPorcent Less than or equal to (100 = FOR TEST)
RepIntegerPorcent = (Random integer number between 1 and 100)
This:
-
And - All (Conditions) are true
-

Conditions
-


(Unit-type of (Loading unit)) Equal to Demon Hunter
-


(Unit-type of (Loading unit)) Equal to Warden
-
-
-
Then - Actions
-

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-


If - Conditions
-



RepIntegerPorcent Less than or equal to 100
-
-


Then - Actions
-



Unit - Create 1 Furion for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
-
-
-
-
If - Conditions
-

(Unit-type of (Loading unit)) Equal to Demon Hunter
-
But I dont understand what's happening with the AND. I need the 2 units to be inside, not just 1
If anyone knows what happens there. Please help me.
Thanks in advance











