- Joined
- Sep 12, 2006
- Messages
- 23
Hey, i'm having trouble with my map. I am trying to make a boss encounter where you pick a path, right or left, and you either fight the boss or you fight his twin. However, i want it to be random as to which side the boss is on and which side his twin is on.
I've tried this
However, if i use Less than or equal to 50 in my condition, the else actions ALWAYS occur, but if i use Greater than or equal to 50, the Then actions always occur, any ideas what im doing wrong, or what the problem may be?
I've tried this
Code:
Actions:
Player - Player 1(Red) types a chat message containing -ready as an exact match.
Conditions:
None
Events:
<My Short cinematic>
If/Then/Else Multiple functions
IF:
(Random integer between 1 and 100) less than or equal to 50
Then:
Unit - Order Boss to move to center of Boss 1<gen>
Unit - Order Boss Twin to move to center of Boss 2<gen>
Else:
Unit - Order Boss to move to center of Boss 2<gen>
Unit - order Boss Twin to move to center of Boss 1<gen>
<finish cinematic and reset camera to normal>
Trigger - Turn off(This Trigger)
However, if i use Less than or equal to 50 in my condition, the else actions ALWAYS occur, but if i use Greater than or equal to 50, the Then actions always occur, any ideas what im doing wrong, or what the problem may be?