- Joined
- Oct 9, 2015
- Messages
- 721
Hey everyone, it's me (again), I'm having a problem with what seems to be a conflicting trigger or variable (real array)
I have these two triggers:
I also have this trigger, that checks if "Real:Mounted" for player is True then do actions:
Can anyone point a solution for this mess?
Thanks again Hive!
I have these two triggers:
-
Interacting
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Interact
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(((Region centered at (Position of Unit[(Player number of (Owner of (Triggering unit)))]) with size (100.00, 100.00)) offset by (0.00, 0.00)) contains (Position of UnitHorse[(Player number of (Owner of (Triggering unit)))])) Equal to True
-
Mounted[(Player number of (Owner of (Triggering unit)))] Equal to False
-
-
Then - Actions
-
Unit - Move UnitHorse[(Player number of (Owner of (Picked unit)))] instantly to (Position of Unit[(Player number of (Owner of (Picked unit)))]), facing (Facing of Unit[(Player number of (Owner of (Picked unit)))]) degrees
-
Set Mounted[(Player number of (Owner of (Triggering unit)))] = True
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Region 020 <gen> contains (Triggering unit)) Equal to True
-
Mounted[(Player number of (Owner of (Triggering unit)))] Equal to False
-
-
Then - Actions
-
Unit - Create 1 Riderless Horse for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing (Facing of (Triggering unit)) degrees
-
Set UnitHorse[(Player number of (Owner of (Triggering unit)))] = (Last created unit)
-
Set Mounted[(Player number of (Owner of (Triggering unit)))] = True
-
-
Else - Actions
-
-
-
-
Interacting2
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Region 020 <gen> contains (Triggering unit)) Equal to False
-
(Ability being cast) Equal to Interact
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Mounted[(Player number of (Owner of (Triggering unit)))] Equal to True
-
-
Then - Actions
-
Set Mounted[(Player number of (Owner of (Triggering unit)))] = False
-
Animation - Reset UnitHorse[(Player number of (Owner of (Triggering unit)))]'s animation
-
-
Else - Actions
-
-
-
I also have this trigger, that checks if "Real:Mounted" for player is True then do actions:
-
movendo montaria
-
Events
-
Time - Every 0.01 seconds of game time
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Mounted[(Player number of (Owner of (Picked unit)))] Equal to True
-
-
Then - Actions
-
Unit - Move UnitHorse[(Player number of (Owner of (Picked unit)))] instantly to (Position of Unit[(Player number of (Owner of (Picked unit)))]), facing (Facing of Unit[(Player number of (Owner of (Picked unit)))]) degrees
-
-
Else - Actions
-
-
-
-
-
Can anyone point a solution for this mess?
Thanks again Hive!
Last edited: