DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ SetDiag()

void BleedingSourcesManagerBase::SetDiag ( bool value)
inlineprotected

См. определение в файле BleedingSourcesManagerRemote.c строка 132

133 {
134 m_ShowDiag = value;
135 return;
136
137 int boneIdx = m_Player.GetBoneIndexByName("RightArmExtra");
138
139 if ( boneIdx != -1 )
140 {
141 Object linkedObject = GetGame().CreateObject("Ammo_ArrowBolt", "0 0 0");
142
143 //linkedObject.SetPosition("0 1 0");
144 //linkedObject.SetOrientation("0 90 0");
145 /*
146
147 Set local space transform for linked object
148
149 */
150
152 eff.SetAutodestroy(true);
153 SEffectManager.PlayInWorld( eff, "0 0 0" );
154 Particle p = eff.GetParticle();
155 //p.SetOrientation("0 90 0");
156 m_Player.AddChild(p, boneIdx);
157
158 m_Player.AddChild(linkedObject, boneIdx);
159 }
160
161 }
void BleedingSourceEffect()
Определения BleedingSource.c:12
proto native Object CreateObject(string type, vector pos, bool create_local=false, bool init_ai=false, bool create_physics=true)
Creates object of certain type.
Particle GetParticle()
Gets the main particle which this Effect is managing.
Определения EffectParticle.c:162
class LOD Object
proto native CGame GetGame()

Перекрестные ссылки BleedingSourceEffect(), CGame::CreateObject(), GetGame(), EffectParticle::GetParticle(), m_Player, m_ShowDiag и SEffectManager::PlayInWorld().