cursorObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ")
m (Text replacement - "<dt class="note">([^<>]+) " to "<dt class="note">$1</dt> ")
Line 22: Line 22:


<dd class="notedate">Posted on March 23, 2015 - 18:17 (UTC)</dd>
<dd class="notedate">Posted on March 23, 2015 - 18:17 (UTC)</dd>
<dt class="note">[[User:Pierre MGI|Pierre MGI]]
<dt class="note">[[User:Pierre MGI|Pierre MGI]]</dt>
<dd class="note">
<dd class="note">
If you point at the primary weapon of an infantry unit, cursorObject will return the p3d of the weapon instead of  the unit itself (B Alpha 1-2:1.. or its variable name ). That doesn't occur for anything else (backpack or headgear).
If you point at the primary weapon of an infantry unit, cursorObject will return the p3d of the weapon instead of  the unit itself (B Alpha 1-2:1.. or its variable name ). That doesn't occur for anything else (backpack or headgear).

Revision as of 01:26, 30 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Detection

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:
hint str [getModelInfo cursorObject, typeOf cursorObject];

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Posted on March 23, 2015 - 18:17 (UTC)
Pierre MGI
If you point at the primary weapon of an infantry unit, cursorObject will return the p3d of the weapon instead of the unit itself (B Alpha 1-2:1.. or its variable name ). That doesn't occur for anything else (backpack or headgear).