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

[JASS] Sharing to teammate not possible since 1.29

Status
Not open for further replies.
Level 3
Joined
Apr 17, 2017
Messages
29
Hi there,

I am trying to fix a share bug in the DotA map which occurs in all versions since patch 1.29 (which introduced 24 players support). As you might know DotA is a 5vs5 moba game. For some reason it isn't possible anymore to share control via F11 to player brown (player 11).
When a player presses F11 and checks the share button nothing happens i.e. the brown player can't control the units of his ally. If that ally presses F11 again there is also no checkmark set ... as if he never clicked on it.

I wrote a function that when a player types -shareall all his teammates get share, which also works fine for player brown:

call SetPlayerAlliance(GetTriggerPlayer(),Ve,ConvertAllianceType(6),true) // Ve = teammates

(Remarkably if a player triggered this function and he presses F11 he can see that the checkmark is set for player brown but if he tries to uncheck it doesn't work either)

However I don't like this solution and I'd prefer the classic F11 way. Does anyone have an idea why this is broken since 1.29 ?
 
Status
Not open for further replies.
Top