This is odd... I have a series of quests offered to the player in my campaign. To select a quest, they walk up to a region with their hero, and select the guy with the "!" over his head. The quest giver is in a variable called qg_Something. The player's hero is Tirshata.
For some reason (and as far as I can tell for the first time now) when I select the quest giver, the unit Tirshata does not turn to face him! Instead he turns away.
The trigger is firing, meaning that the unit he is meant to face is actually stored as: qg_Ogriphant. The Tirshata unit does exist in that region, and when I tell the quest giver to face Tirshata it actually works. So all the variables are set correctly...and yet the Tirshata unit doesn't turn to face him.
The Tirshata unit does actually turn slowly, just to a different point. So the unit is being given the command. I looked at other triggers that use this command to see if another trigger overrides it, but I can't find that.
I don't think it's an error with the code, I suspect it's just a terrible bug. My question to you:
Is anyone aware of a bug with the "Make unit face unit" action?
For some reason (and as far as I can tell for the first time now) when I select the quest giver, the unit Tirshata does not turn to face him! Instead he turns away.
The trigger is firing, meaning that the unit he is meant to face is actually stored as: qg_Ogriphant. The Tirshata unit does exist in that region, and when I tell the quest giver to face Tirshata it actually works. So all the variables are set correctly...and yet the Tirshata unit doesn't turn to face him.
The Tirshata unit does actually turn slowly, just to a different point. So the unit is being given the command. I looked at other triggers that use this command to see if another trigger overrides it, but I can't find that.
I don't think it's an error with the code, I suspect it's just a terrible bug. My question to you:
Is anyone aware of a bug with the "Make unit face unit" action?
-
initiate Orgriphant mission
-
Events
- Player - Player 12 (Brown) Selects a unit
-
Conditions
- (Triggering unit) Equal to qg_Ogriphant
- (Ogriphant Address <gen> contains Tirshata) Equal to True
- questingBoolean Equal to False
-
Actions
- Trigger - Turn off (This trigger)
- Player - Make Player 12 (Brown) treat Player 9 (Gray) as an Ally
- Set Game = 6
- Set ogriphantInteger = 0
- Set questingBoolean = True
- Set BGspawnPoint1 = (Center of OgriphantEnemySpawn <gen>)
- Set BGspawnPoint2 = (Center of OgriphantEnemySpawn2 <gen>)
- Set tempPoint4 = (Center of OgriphantAlly <gen>)
- Set CinematicTrigger = initiate Orgriphant cinematic OVER <gen>
- Unit - Make Tirshata face qg_Ogriphant over 2.00 seconds
- Unit - Make qg_Ogriphant face Tirshata over 2.00 seconds
- Trigger - Run Cinematic Start Immediate <gen> (checking conditions)
- Camera - Apply Ogriphant1 <gen> for Player 12 (Brown) over 0.00 seconds
- Camera - Apply Ogriphant2 <gen> for Player 12 (Brown) over 25.00 seconds
- Set tempString = Krall the Leash-holder
- -------- -------- --------
- -------- make ogriphants --------
- -------- -------- --------
- Set tempPoint = (Center of Ogriphant1 <gen>)
- Unit - Create 1 _Orgriphant for Player 9 (Gray) at tempPoint facing 245.00 degrees
- Unit Group - Add (Last created unit) to unitGroup
- Custom script: call RemoveLocation (udg_tempPoint)
- Set tempPoint = (Center of Ogriphant2 <gen>)
- Unit - Create 1 _Orgriphant for Player 9 (Gray) at tempPoint facing 15.00 degrees
- Unit Group - Add (Last created unit) to unitGroup
- Custom script: call RemoveLocation (udg_tempPoint)
- Set tempPoint = (Center of Ogriphant3 <gen>)
- Unit - Create 1 _Orgriphant for Player 9 (Gray) at tempPoint facing 105.00 degrees
- Unit Group - Add (Last created unit) to unitGroup
- Custom script: call RemoveLocation (udg_tempPoint)
- -------- -------- --------
- Cinematic - Send transmission to (All players) from qg_Ogriphant named tempString: Play No sound and display So ya want to breed.... Modify duration: Set to 18.00 seconds and Wait
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Skip Equal to True
-
Then - Actions
- Skip remaining actions
- Else - Actions
-
If - Conditions
- Cinematic - Send transmission to (All players) from Tirshata named La'Shanta: Play No sound and display You best be speakin.... Modify duration: Set to 5.00 seconds and Wait
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Skip Equal to True
-
Then - Actions
- Skip remaining actions
- Else - Actions
-
If - Conditions
- Cinematic - Send transmission to (All players) from qg_Ogriphant named tempString: Play No sound and display Meta whats?. Modify duration: Set to 4.00 seconds and Wait
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Skip Equal to True
-
Then - Actions
- Skip remaining actions
- Else - Actions
-
If - Conditions
- Cinematic - Send transmission to (All players) from Tirshata named La'Shanta: Play No sound and display Nevermind. What is.... Modify duration: Set to 7.00 seconds and Wait
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Skip Equal to True
-
Then - Actions
- Skip remaining actions
- Else - Actions
-
If - Conditions
- Cinematic - Send transmission to (All players) from qg_Ogriphant named tempString: Play No sound and display My grazing field is.... Modify duration: Set to 16.00 seconds and Wait
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Skip Equal to True
-
Then - Actions
- Skip remaining actions
- Else - Actions
-
If - Conditions
- Cinematic - Send transmission to (All players) from Tirshata named La'Shanta: Play No sound and display Sounds simple.. Modify duration: Set to 3.00 seconds and Wait
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Skip Equal to True
-
Then - Actions
- Skip remaining actions
- Else - Actions
-
If - Conditions
- Trigger - Run Cinematic Over <gen> (checking conditions)
-
Events