• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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