Editor Trigger Bug

Game Version: Premium
Build Number: v.100.18.34789.0 (559086R)
Platform: Steam
Operating System: Windows 11
I’m trying to create my own scenario in the editor and I came across a bug. I tried using the trigger: Player: Take control of player. However, this trigger doesn’t work. I’ve tested it in different variations. I’ve set all players to human players in the settings, all as computers, as computer and human. I’ve tried changing the condition, but nothing works. In the old AOM EE the trigger was called: Player Set active. I’ve also tried using an XS code to bypass the created scenario trigger and activate the trigger manually without an error message. The problem is that the trigger is either currently deactivated or actually doesn’t work. You can test the event yourself by simply creating a new editor scenario and creating a trigger, selecting Player Take control of player as the effect, and then selecting, for example, player two in the box. You test the scenario, whether in the editor itself or in multiplayer or skirmish, as, for example, player one, and theoretically you should now be able to control player two, but you remain the previously selected player.

This trigger functions correctly when starting a new game initially, but it fails completely after saving and reloading. While checking the Loop option would theoretically maintain functionality post-reload, it actually renders you unable to control any units—because the trigger re-executes its commands every single frame, constantly refreshing selections. As you rightly pointed out, these issues never existed in the Extended Edition, where triggers worked flawlessly. I simply cannot fathom how the current programming logic could regress into such a baffling state.

1 Like

v.100.18.34798.0, confirmed the same issue.

Attached is a mythscn where I demonstrate this. (Note: I had to change the extension to .txt to get it to upload here.) Also a video showing what happens when I try.


take-control-of-player-bug.txt (207.3 KB)

1 Like

v.100.18.40371.0

I can confirm the issue is still there.

I’ve tested it in a blank editor:

  • using the trigger “Player: take control of player”
  • calling directly the trSetActivePlayer(2) with the “XS Code Snippet” effect

Note: I know the trigger calls trSetActivePlayer(%Player%) but i wanted to test it passing directly the number and without any other rules. I don’t know if there are other functions available but I couldn’t find any in the xs scripts.

Did you find a solution?

1 Like

nottud did find a fix, you will find it its pack “custom trigger pack”
Only for singleplayer thoug, doesn’t work in multiplayer

2 Likes

This issue has been addressed in the recent minor update :white_check_mark:

Age of Mythology: Retold Minor Update 18.42553 - Age of Empires - World’s Edge Studio

1 Like

I might be mistaken but it’s not mentionned in the patchnote and trying it in the editor ( playing as P1 trigger take control of P3) doesn’t seem to work

Trying with the nottud’s fixed version works though

Are you sure this one was adressed ?

Thank you for letting us know - we’re looking into what occurred.

That’s right. After the update, I found things only became worse—triggers completely stopped working. The only way to assign factions now is by manually clicking the faction colors in the top-right corner of the editor.