Hello,
I wanted to create a template map where I allow any commands from the Campaign to work (except for "quick start" and a few others maybe, but I still included them).
The map is the following: cemom-test_9 (It's currently open-source, so you should be able to open it in the Editor)
But I already have problems making the very first command work. I tried to "build" the command "zoom 200" as the first one.
The variable input from the trigger #command is the input the user makes (e.g. "zoom 200"). I then included the normal executing trigger #zoom200 which does what it should do.
In between I have made a "check" statement, i.e. execute #zoom200 only if the player typed "zoom 200"; in the Editor, that means that the variable input contains the string "zoom 200".
If that is the case, then input gets set to value 1, and the following trigger execution will only work if input is 1.
But for some reason this doesn't seem to work.
I never bothered to work with variables in the Editor before because they are so complicated(*). But I need them now lol
The three relevant triggers are therefore: #console, #checkzoom200 and #zoom200
I would be happy if somebody could help me out
Thanks in advance
(*) = Probably vice-versa. Complicated because I don't have any experience with those in the Map Editor