Unlock doors from level script #754

Open
Loobinex opened this Issue Jul 18, 2016 · 0 comments

Projects

None yet

1 participant

@Loobinex

It would be a very nice tool for mapmakers if they can unlock or lock doors from the level script. This is very useful in controlling the behavior of Computer players as well as that of pre-placed heroes.

I'm open to any method, but one possibility how this could work in the script is like this:

REM Lock the blue door in range of action point one
SET_DOORS(PLAYER1,LOCK,1)
REM Unlock all doors in range of action point 4
SET_DOORS(ALL_PLAYERS,UNLOCK,4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment