Установить Steam
войти
|
язык
简体中文 (упрощенный китайский)
繁體中文 (традиционный китайский)
日本語 (японский)
한국어 (корейский)
ไทย (тайский)
Български (болгарский)
Čeština (чешский)
Dansk (датский)
Deutsch (немецкий)
English (английский)
Español - España (испанский)
Español - Latinoamérica (латиноам. испанский)
Ελληνικά (греческий)
Français (французский)
Italiano (итальянский)
Bahasa Indonesia (индонезийский)
Magyar (венгерский)
Nederlands (нидерландский)
Norsk (норвежский)
Polski (польский)
Português (португальский)
Português-Brasil (бразильский португальский)
Română (румынский)
Suomi (финский)
Svenska (шведский)
Türkçe (турецкий)
Tiếng Việt (вьетнамский)
Українська (украинский)
Сообщить о проблеме с переводом
Hat_GhostPartyPlayer's Player Class is in variable called PlayerVisualClass. If it's None, then it's Hat_Player_HatKid.
So the following chunk should work:
local Hat_GhostPartyPlayer gpp;
gpp = Hat_GhostPartyPlayer(ActorInstigator);
if (gpp != None)
{
if (gpp.PlayerVisualClass == None || gpp.PlayerVisualClass == class'Hat_Player_HatKid)
{
\\Do stuff for HK Online Player.
}
else if (class<Hat_Player_CoPartner>(gpp.PlayerVisualClass) != None)
{
\\Do stuff for BK Online Player.
}
else
{
\\Do stuff for other Online Player.
}
}
If you still need help, you can contact me on Discord: Шарарамош#7170.
Is there really no way to fix the sync of "player skin color" value from your side?
Anyway sorry i wont bother you on the matter anymore, youre already did alot and im thankful, guess i will stick up with what i have.
Just make it check Player Class and change its appearance if it's different.
Again, sorry, but be neat if it could work.
https://imgur.com/a/0M16JIA
only thing noticed was that player skin could not sync(was trying to make a silly shiva-like 6 hands), but weirdly didnt synced when switching to bow girl... not sure it will actually be needed, but be neat if that be synced too, up to you, ive asked plenty already and its already a good progress.