[Help] Ballistic Overkill Show Player Name
Ballistic Overkill Show Player Name
Ballistic Overkill Show Player Name Posted on: 12/06/2015 3:40pm
Quote Post

I'm trying to make the show player name, but the names of the players are duplicated in front of me appears the name of the player but behind me also appears the name of the player confusing the sense that I have to go to meet the enemy, someone can help to do so work properly?


LOCAL>   .class private auto ansi beforefieldinit Aquiris.Ballistic.UI.Ingame.Views.HUDIndicatorView

Code IL

//02
IL_0000: ldarg.0
//28 ?? ?? ?? ??
IL_0001: call      instance class [mscorlib]System.Collections.Generic.Dictionary`2<int64, class Aquiris.Ballistic.UI.Ingame.Components.PlayerIndicatorComponent> Aquiris.Ballistic.UI.Ingame.Views.HUDIndicatorView::get_PlayerIndicators()
//03
IL_0006: ldarg.1
//6F ?? ?? ?? ??
IL_0007: callvirt  instance bool class [mscorlib]System.Collections.Generic.Dictionary`2<int64, class Aquiris.Ballistic.UI.Ingame.Components.PlayerIndicatorComponent>::ContainsKey(!0)
//3A ?? ?? ?? ??
IL_000c: brtrue    IL_0093
//02
IL_0011: ldarg.0
//7B ?? ?? ?? ??
IL_0012: ldfld     class Aquiris.Ballistic.UI.Ingame.Components.PlayerIndicatorComponent Aquiris.Ballistic.UI.Ingame.Views.HUDIndicatorView::m_playerIndicatorPrefab
//28 ?? ?? ?? ??
IL_0017: call      class Aquiris.Ballistic.UI.Ingame.Components.PlayerIndicatorComponent [UnityEngine]UnityEngine.Object::Instantiate<class Aquiris.Ballistic.UI.Ingame.Components.PlayerIndicatorComponent>(!!0)
//0A
IL_001c: stloc.0
//06
IL_001d: ldloc.0
//6F ?? ?? ?? ??
IL_001e: callvirt  instance class [UnityEngine]UnityEngine.GameObject [UnityEngine]UnityEngine.Component::get_gameObject()
//17
IL_0023: ldc.i4.1
//6F ?? ?? ?? ??
IL_0024: callvirt  instance void [UnityEngine]UnityEngine.GameObject::SetActive(bool)
//06
IL_0029: ldloc.0
//02
IL_002a: ldarg.0
//7B ?? ?? ?? ??
IL_002b: ldfld     class Aquiris.Ballistic.UI.Ingame.Components.PlayerIndicatorComponent Aquiris.Ballistic.UI.Ingame.Views.HUDIndicatorView::m_playerIndicatorPrefab
//6F ?? ?? ?? ??
IL_0030: callvirt  instance string [UnityEngine]UnityEngine.Object::get_name()
//72 ?? ?? ?? ??
IL_0035: ldstr     "_"
//04
IL_003a: ldarg.2
//28 ?? ?? ?? ??
IL_003b: call      string [mscorlib]System.String::Concat(string,  string,  string)
//6F ?? ?? ?? ??
IL_0040: callvirt  instance void [UnityEngine]UnityEngine.Object::set_name(string)
//06
IL_0045: ldloc.0
//02
IL_0046: ldarg.0
//7B ?? ?? ?? ??
IL_0047: ldfld     class [UnityEngine]UnityEngine.Transform Aquiris.Ballistic.UI.Ingame.Views.HUDIndicatorView::m_indicatorAnchor
//6F ?? ?? ?? ??
IL_004c: callvirt  instance void Aquiris.Ballistic.UI.Ingame.Components.BaseIndicatorComponent::SetParent(class [UnityEngine]UnityEngine.Transform)
//06
IL_0051: ldloc.0
//16
IL_0052: ldc.i4.0
//6F ?? ?? ?? ??
IL_0053: callvirt  instance void Aquiris.Ballistic.UI.Ingame.Components.PlayerIndicatorComponent::set_ShowPlayerName(bool)
//06
IL_0058: ldloc.0
//04
IL_0059: ldarg.2
//6F ?? ?? ?? ??
IL_005a: callvirt  instance void Aquiris.Ballistic.UI.Ingame.Components.PlayerIndicatorComponent::set_PlayerName(string)
//06
IL_005f: ldloc.0
//05
IL_0060: ldarg.3
//02
IL_0061: ldarg.0
//7B ?? ?? ?? ??
IL_0062: ldfld     int32 Aquiris.Ballistic.UI.Ingame.Views.HUDIndicatorView::m_myTeam
//FE 01
IL_0067: ceq
//16
IL_0069: ldc.i4.0
//FE 01
IL_006a: ceq
//6F ?? ?? ?? ??
IL_006c: callvirt  instance void Aquiris.Ballistic.UI.Ingame.Components.PlayerIndicatorComponent::set_Enemy(bool)
//06
IL_0071: ldloc.0
//05
IL_0072: ldarg.3
//6F ?? ?? ?? ??
IL_0073: callvirt  instance void Aquiris.Ballistic.UI.Ingame.Components.PlayerIndicatorComponent::set_Team(int32)
//06
IL_0078: ldloc.0
//0E ??
IL_0079: ldarg.s   p_playerIndicatorPivot
//7D ?? ?? ?? ??
IL_007b: stfld     class [UnityEngine]UnityEngine.Transform Aquiris.Ballistic.UI.Ingame.Components.WorldIndicatorComponent::Target
//06
IL_0080: ldloc.0
//6F ?? ?? ?? ??
IL_0081: callvirt  instance void Aquiris.Ballistic.UI.Ingame.Components.PlayerIndicatorComponent::Hide()
//02
IL_0086: ldarg.0
//28 ?? ?? ?? ??
IL_0087: call      instance class [mscorlib]System.Collections.Generic.Dictionary`2<int64, class Aquiris.Ballistic.UI.Ingame.Components.PlayerIndicatorComponent> Aquiris.Ballistic.UI.Ingame.Views.HUDIndicatorView::get_PlayerIndicators()
//03
IL_008c: ldarg.1
//06
IL_008d: ldloc.0
//6F ?? ?? ?? ??
IL_008e: callvirt  instance void class [mscorlib]System.Collections.Generic.Dictionary`2<int64, class Aquiris.Ballistic.UI.Ingame.Components.PlayerIndicatorComponent>::Add(!0,  !1)
//2A
IL_0093: ret 
 
   REPLACE 16 TO 17