BIS fnc sceneIntruderDetector: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|= Game name" to "|Game name=") |
m (filled page) |
||
Line 1: | Line 1: | ||
{{Function | |||
|game1= arma2 | |||
| | |version1= 1.00 | ||
| | <!--|exec= server|=--> | ||
| | <!--|arg= local--> | ||
< | <!--|eff= local--> | ||
| < | |descr= Checks if there are intruders during scene. All intruders during scene will be disabled if they | ||
will get into the detector trigger. Checking is deactivated by passing <code>BIS_sceneIntruderDetectorLogic setVariable ["_detectInProgress", false];</code> | |||
| | |s1= [sceneCenter, triggerSize] call [[BIS_fnc_sceneIntruderDetector]] | ||
| | |p1= sceneCenter: [[Array]] - (Optional, default [[position]] [[player]]) Center position of scene | ||
| | |p2= triggerSize: [[Array]] - (Optional, default [60,60]) Trigger size as array in format:<br> | ||
0: Number - Size A<br> | |||
1: Number - Size B | |||
| | | |r1= [[Nothing]] | ||
|x1= <code>[[1337,1337,0],[42,42]] [[call]] [[BIS_fnc_sceneCreateSceneTrigger]];</code> | |||
|exec= call | |||
|seealso= [[BIS_fnc_sceneCreateSoundEntities]] [[BIS_fnc_sceneRotate]] [[BIS_fnc_sceneSetBehaviour]] [[BIS_fnc_sceneGetObjects]] | |||
}} | }} |
Revision as of 17:36, 8 January 2020
Description
- Description:
- Checks if there are intruders during scene. All intruders during scene will be disabled if they
will get into the detector trigger. Checking is deactivated by passing
BIS_sceneIntruderDetectorLogic setVariable ["_detectInProgress", false];
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [sceneCenter, triggerSize] call BIS_fnc_sceneIntruderDetector
- Parameters:
- sceneCenter: Array - (Optional, default position player) Center position of scene
- triggerSize: Array - (Optional, default [60,60]) Trigger size as array in format:
0: Number - Size A
1: Number - Size B - Return Value:
- Nothing
Examples
- Example 1:
[[1337,1337,0],[42,42]] call BIS_fnc_sceneCreateSceneTrigger;
Additional Information
- See also:
- BIS_fnc_sceneCreateSoundEntities BIS_fnc_sceneRotate BIS_fnc_sceneSetBehaviour BIS_fnc_sceneGetObjects
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