1448 {
1449 super.OnDoubleClick(w,
x,
y, button);
1450
1451 int i;
1452 int objects_row_index;
1454
1456 {
1457
1462
1466
1467
1469
1471
1474 vector hitPos;
1475 vector hitNormal;
1476 int hitComponentIndex;
1477 set<Object> hitObjects = new set<Object>;
1478 DayZPhysics.RaycastRV(rayStart, rayEnd, hitPos, hitNormal, hitComponentIndex, hitObjects, NULL, player);
1479
1481 if (hitObjects.Count())
1482 target = hitObjects.Get(0);
1483
1485 {
1487
1488 if (button == 0)
1489 {
1491 return true;
1492 }
1493 else if (button == 1)
1494 {
1495 if (
GetGame().IsMultiplayer())
1496 {
1498 }
1499 else
1500 {
1502 player.LocalTakeEntityToHands(spawned_entity);
1503 }
1504 return true;
1505 }
1506 else if (button == 2)
1507 {
1509 return true;
1510 }
1511 }
1512
1513 }
1515 {
1517 return true;
1518 }
1519 return false;
1520 }
proto native vector GetCurrentCameraPosition()
proto native vector GetCurrentCameraDirection()
EditBoxWidget m_QuantityEditBox
TextListboxWidget m_PresetItemsTextListbox
void ShowItemTransferButtons()
TextWidget m_SelectedObjectText
string GetCurrentObjectName()
TextListboxWidget m_ObjectsTextListbox
PluginDeveloper m_Developer
static string m_LastSelectedObject
EditBoxWidget m_SpawnDistanceEditBox
void SaveProfileSpawnDistance()
static int m_SelectedObjectIsPreset
proto native CGame GetGame()