collisionDisabledWith: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|branch= dev " to "") |
BrettMayson (talk | contribs) mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.08 | |version1= 2.08 | ||
|arg= global | |arg= global | ||
Line 9: | Line 10: | ||
|descr= Returns the object, given object has collision disabled with and whether or not returned object has also collision disabled with given object. | |descr= Returns the object, given object has collision disabled with and whether or not returned object has also collision disabled with given object. | ||
|s1= [[collisionDisabledWith]] | |s1= [[collisionDisabledWith]] obj | ||
|p1= | |p1= obj: [[Object]] - given object | ||
|r1= [[Array]] | |r1= [[Array]] in format [other, mutual], where: | ||
* | * other: [[Object]] - the object, ''obj'' has collision disabled with, or [[objNull]] | ||
* mutual: [[Boolean]] - [[true]] if | * mutual: [[Boolean]] - [[true]] if ''other'' has also disabled collision with ''obj'', [[false]] otherwise | ||
|x1= < | |x1= <sqf>private _collisionInfo = collisionDisabledWith _tank;</sqf> | ||
|seealso= [[disableCollisionWith]] [[enableCollisionWith]] | |seealso= [[disableCollisionWith]] [[enableCollisionWith]] | ||
}} | }} |
Latest revision as of 04:08, 28 September 2023
Description
- Description:
- Returns the object, given object has collision disabled with and whether or not returned object has also collision disabled with given object.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- collisionDisabledWith obj
- Parameters:
- obj: Object - given object
- Return Value:
- Array in format [other, mutual], where:
Examples
- Example 1:
Additional Information
- See also:
- disableCollisionWith enableCollisionWith
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