• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Custom skin for specific player

Status
Not open for further replies.
Level 6
Joined
Sep 24, 2015
Messages
174
Hi, i'm trying to make a trigger for a custom model ingame for a spécific player but i don't know how to proceed...i need to set a variable with the name of the player ? making an if then else? please if someone could help it would be really kind. Thank you :)

P.S : i'm using GUI exclusively.
 
nono, i mean if the player X is in the game , then he has his specific unit from the start of the game.

like a builder in vampirism at start he has another model bound to the name of the player...

i don't know if i was clear :/

thank you anyway :)
 
Like this? You would still need to remove leaks though.

  • Actions
    • For each (Integer A) from 1 to 12, do (Actions)
      • Loop - Actions
        • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
          • If - Conditions
            • (Name of (Player((Integer A)))) Equal to Korialstrasz
          • Then - Actions
            • Unit - Create 1 SPECIAL BUILDER for (Player((Integer A))) at YOUR AREA facing Default building facing degrees
          • Else - Actions
            • Unit - Create 1 STANDARD BUILDER for (Player((Integer A))) at YOUR AREA facing Default building facing degrees
 
One way is to directly edit the model.
Certain animations can use unique textures.
So you would need 12 stand 1 animations and so on.

You can then remove certain animations from a specific unit to choose which ones you want to keep.

This is a cleaner solution than making 12 units but it requires modelling knowledge.

However, it is in lack of better options there is currently no perfect way of doing what you want.
I would say don't bother.
 
it's okay i found how to add custom skins at start of the game. i just created a new unit with the specific name of the player, check if the palyer is in game and tadaaa it removes the old unit from game and creates a new one for the triggering player.
 
Status
Not open for further replies.
Back
Top