BIS fnc sceneCreateSceneTrigger: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - " |exec= call " to " ") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|game1= arma2 | |game1= arma2 | ||
|version1= 1.00 | |||
|game2= arma2oa | |||
|version2= 1.50 | |||
|game3= tkoh | |||
|version3= 1.00 | |||
| | |game4= arma3 | ||
|version4= 0.50 | |||
|gr1 = Scenes | |gr1= Scenes | ||
|descr= Create trigger for scene which can interrupt scene with name passed during creating the trigger. Scene name is saved in format '''BIS_SceneIntDetector%1''' where %1 is sceneName. | |descr= Create trigger for scene which can interrupt scene with name passed during creating the trigger. Scene name is saved in format '''BIS_SceneIntDetector%1''' where %1 is sceneName. | ||
|s1= [sceneName, side, timeout, triggerSize, triggerPosition] | |s1= [sceneName, side, timeout, triggerSize, triggerPosition] call [[BIS_fnc_sceneCreateSceneTrigger]] | ||
|p1= sceneName: [[String]] - | |p1= sceneName: [[String]] - name of scene to associate with | ||
|p2= side: [[Side]] - | |p2= side: [[Side]] - for which side create trigger - which presence then interrupt the scene | ||
|p3= timeout: [[Number]] - | |p3= timeout: [[Number]] - timeout of interrupt | ||
|p4= triggerSize: [[Number]] - | |p4= triggerSize: [[Number]] - size of the trigger | ||
|p5= triggerPosition: [[Array]] - | |p5= triggerPosition: [[Array]] - where to create the trigger | ||
|p6= deleteTrigger: [[Boolean]] - | |p6= deleteTrigger: [[Boolean]] - if [[true]], trigger will be deleted | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>["BIS_scene", west, 5, 500, [1337,1337,0], false] call BIS_fnc_sceneCreateSceneTrigger;</sqf> | ||
|seealso= [[BIS_fnc_sceneCreateSoundEntities]] [[BIS_fnc_sceneRotate]] [[BIS_fnc_sceneSetBehaviour]] [[BIS_fnc_sceneGetObjects]] [[BIS_fnc_sceneIntruderDetector]] | |seealso= [[BIS_fnc_sceneCreateSoundEntities]] [[BIS_fnc_sceneRotate]] [[BIS_fnc_sceneSetBehaviour]] [[BIS_fnc_sceneGetObjects]] [[BIS_fnc_sceneIntruderDetector]] | ||
}} | }} | ||
Latest revision as of 17:41, 13 July 2022
Description
- Description:
- Create trigger for scene which can interrupt scene with name passed during creating the trigger. Scene name is saved in format BIS_SceneIntDetector%1 where %1 is sceneName.
- Execution:
- call
- Groups:
- Scenes
Syntax
- Syntax:
- [sceneName, side, timeout, triggerSize, triggerPosition] call BIS_fnc_sceneCreateSceneTrigger
- Parameters:
- sceneName: String - name of scene to associate with
- side: Side - for which side create trigger - which presence then interrupt the scene
- timeout: Number - timeout of interrupt
- triggerSize: Number - size of the trigger
- triggerPosition: Array - where to create the trigger
- deleteTrigger: Boolean - if true, trigger will be deleted
- Return Value:
- Nothing
Examples
- Example 1:
Additional Information
- See also:
- BIS_fnc_sceneCreateSoundEntities BIS_fnc_sceneRotate BIS_fnc_sceneSetBehaviour BIS_fnc_sceneGetObjects BIS_fnc_sceneIntruderDetector
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