BIS fnc inTrigger: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 61: Line 61:
<dd class="note">
<dd class="note">
Works with markers too:
Works with markers too:
<code>inMarker <nowiki>=</nowiki> ["markername", _position] [[call]] [[BIS_fnc_inTrigger]];<code>
<code>inMarker <nowiki>=</nowiki> ["markername", _position] [[call]] [[BIS_fnc_inTrigger]];</code>
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->
<!-- DISCONTINUE Notes -->

Revision as of 20:34, 6 May 2015


Hover & click on the images for description

Description

Description:
//
/*
	File: inTrigger.sqf

	Description:
	Detects whether is position within trigger area.

	Parameter(s):
		_this select 0: OBJECT or ARRAY - Trigger or trigger area
		_this select 1: ARRAY or OBJECT - Position
		_this select 2 (Optional): BOOL - true for scalar result (distance from border)

	Returns:
	Boolean (true when position is in area, false if not).
*/
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

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

Notes

Bottom Section

Posted on May 6, 2015 - 19:34 (UTC)
Killzone Kid
Works with markers too: inMarker = ["markername", _position] call BIS_fnc_inTrigger;