-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add SetComputerBarrier #1684
Add SetComputerBarrier #1684
Conversation
784a701
to
c0b5550
Compare
Force-pushed clang-tidy fix:
|
you still can use |
It'd be great to: have this in multiplayer (if that doesn't already work), for players and a "lift" function as well, that way one could "nicely" block a player in a custom campaign |
This implementation only works for AIs. Implementing this for each player (or lifting restrictions) would not be difficult, but this particular implementation is only basically a mirror of S2 campaign AI behavior. |
Adds
SetComputerBarrier
LUA function which works like!GLOBAL_SET_COMPUTER_BARRIER
did in S2 RTX scripts. This makes it possible to script old campaigns much more simply than with the tools previously available.