356 {
358 {
360 return true;
361 }
363 {
365
367
370 }
372 {
373 Print(
"Weapon Change pressed");
374
376 if (d == null)
377 {
378 Print(
"No dispatcher - cannot get selected weapon");
379 return false;
380 }
381
383 if (p == null)
384 {
385 Print(
"No selected object");
386 return false;
387 }
388
389 Param1<string> p1 = Param1<string>.Cast(p);
391
395 }
397 {
401 }
402
403
404 return false;
405 }
Dispatcher GetDispatcher()
const CallID CALL_ID_SCR_CNSL_GETSELECTEDITEM
Param CallMethod(CallID call_id, Param params)
proto native void SetInitState(int pFrameIndex)
ButtonWidget m_ButtonStart
EditBoxWidget m_WeaponSlotS
void WeaponsStartAction()
string m_CH_WeaponChangeI
EditBoxWidget m_SetInitStateI
ButtonWidget m_SetInitStateB
ButtonWidget m_WeaponChange
int m_CH_WeaponChangeSlotS
ButtonWidget m_WeaponHide
int m_CH_WeaponChangeSlotH
EditBoxWidget m_WeaponSlotH
proto native CGame GetGame()
proto void Print(void var)
Prints content of variable to console/log.
void HumanCommandWeapons()