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

A nice suguestion.

Status
Not open for further replies.
Level 2
Joined
Dec 15, 2005
Messages
29
I am tired of hosting and loosing cause of some newbs playing gray position..

But whenever I play gray some moron plays red kicking pink for using
-fuckoff or simply cause he doesn t likes someone.
This always ruins the game.
But when I pay gray and simply lock red some random morron gets gameadmin. This is realy nasty, I suguest to make gray player to the gamehost.

Or mabe I don t know if it is possible you could make a script so the host is gameadmin , not mattering what position he is.
 
Level 6
Joined
Oct 20, 2005
Messages
283
Not all hosts want to be grey. You could make 2 parallel versions, but that would be too complicated.
 
Level 2
Joined
Dec 15, 2005
Messages
29
Why not making 2 identical versions ?

You just copy paste the file and change one script, thats not complicated.
It would raise the games lengh by about 34 rounds, cause I always play imperial and love that stunning from the ogryns.
They simply 100% stunn all bosses thy hit.
 
Level 2
Joined
Dec 15, 2005
Messages
29
The boss stun ability exists in each version with ogryns as far as I know.
But the point is, they should just make extra damadge, not stunn bosses but hey, as IG player I am happy abbout it.
 
Level 5
Joined
Nov 17, 2005
Messages
165
Well... Some time ago, I actually found a jass function which should return the host. I havent tested it very much myself, but it seems to work 8)

Code:
//This function takes nothing and returns the host of the game.
function GetHost takes nothing returns player
    //This stores the Id + 1 for each player.
    call StoreInteger(GameCache(), "missionKey", "key", GetPlayerId(GetLocalPlayer()) + 1)
    //Setup the TriggerSyncReady call.
    call TriggerSyncStart()
    //Sync the value of the entry for each player.
    //Each value will sync to the value of the host.
    call SyncStoredInteger(GameCache(), "missionKey", "key")
    //Wait until the Game Cache syncs the key for everyone.
    call TriggerSyncReady()
    //Return the synced value as a player.
    return Player(GetStoredInteger(GameCache(), "missionKey", "key") - 1)
endfunction

I found it at http://www.wc3jass.com/viewtopic.php?t=2713. Enjoy :D
 
Status
Not open for further replies.
Top