• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Ever wondered how hero wars allows that observer cmd in their games?

Status
Not open for further replies.
Full credit to Mech_Warrior for finding this out.

This allows you to become a observer in-game after the lobby.
[trigger=]
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
Game - Set Allow observers to On
Game - Set Observers on defeat to On
Game - Defeat Player 1 (Red) with the message: Defeat!
Dialog - Show test for Player 1 (Red)
Dialog - Hide test for Player 1 (Red)
[/trigger]

You can of course change the event to register a string such as -obs.

This also works as single-player protection which is popular in those Asian/Korean rpgs/orpgs to perma-pause and menulock people in sp.

Just remove the two first actions.

[trigger=]
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
Game - Defeat Player 1 (Red) with the message: Defeat!
Dialog - Show test for Player 1 (Red)
Dialog - Hide test for Player 1 (Red)
[/trigger]
 
Last edited:
Status
Not open for further replies.
Top