• 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.

Turning players into observers/players.

Status
Not open for further replies.
This allows you to turn anyone into an observer and back as well. :thumbs_up:

[trigger=]
Untitled Trigger 001
Events
Player - Player 1 (Red) types a chat message containing o as An exact match
Conditions
Actions
Set p = (Triggering player)
Custom script: call SetPlayerState( udg_p, PLAYER_STATE_OBSERVER, 1)
[/trigger]
[trigger=Turning player back]
Untitled Trigger 001 Copy Copy
Events
Some kind of time event or something
Conditions
Actions
Set p = Player 1 (Red)
Custom script: call SetPlayerState( udg_p, PLAYER_STATE_OBSERVER, 0)
[/trigger]
 
Status
Not open for further replies.
Top