• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

GetLocalPlayer() vs Unit Size and Reforged users detection.

Status
Not open for further replies.
Level 7
Joined
Jun 1, 2009
Messages
126
Due to some models scaling mismatch in classic and reforged modes, I use a trigger that should fix units scale.
But there are 2 questions.
1. Will it cause a desync for multiplayer? (Some posts said that it won't, but they were made long time before buggy reforged was released)
2. Is there any option to detect classic\reforged graphics of a user via triggers?

  • For each (Integer B) from 1 to Max_Player_Number, do (Actions)
    • Loop - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • PlayerReforged[(Integer B)] Equal to No
        • Then - Actions
          • Set VariableSet PlayerLocal = (Player((Integer B)))
          • Custom script: if GetLocalPlayer() == udg_PlayerLocal then
          • Animation - Change BOSS_Unit[(Integer A)]'s size to (300.00%, 300.00%, 300.00%) of its original size
          • Custom script: endif
        • Else - Actions
 
Status
Not open for further replies.
Top