Azlier
Old World Ghost
- Reaction score
- 461
This little cheat will disable single player on your map. You can still play alone on LAN or Battle.net, however.
First, download the model attached to this post.
Next, import it into your map.
Finally, add [ljass]call Preloader("war3mapImported\\Model.mdx")[/ljass] into any Jass function/GUI trigger that runs on Map Initialization. It'll even work for you Mac users.
And there we go. Single Player is now disabled on your map.
Note: Since this is a public resource, renaming the model and import path (and then changing the path in the Preloader call) to something less suspicious would be a Good Idea™.
I would like to thank Renendaru for testing this.
And now, with an optimized script by Jesus4Lyf!
First, download the model attached to this post.
Next, import it into your map.
Finally, add [ljass]call Preloader("war3mapImported\\Model.mdx")[/ljass] into any Jass function/GUI trigger that runs on Map Initialization. It'll even work for you Mac users.
Trigger:
- GUI Example
- Events
- Map Initialization
- Conditions
- Actions
- Custom Script: call Preloader("war3mapImported\\Model.mdx")
- Events
And there we go. Single Player is now disabled on your map.
Note: Since this is a public resource, renaming the model and import path (and then changing the path in the Preloader call) to something less suspicious would be a Good Idea™.
I would like to thank Renendaru for testing this.
And now, with an optimized script by Jesus4Lyf!