BIS fnc sceneCreateSceneTrigger: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki)
 
m (Some wiki formatting)
 
(30 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma2
____________________________________________________________________________________________
|version1= 1.00


| arma2 |= Game name
|game2= arma2oa
|version2= 1.50


|1.00|= Game version
|game3= tkoh
____________________________________________________________________________________________
|version3= 1.00


| <pre>
|game4= arma3
/*******************************************************************************
|version4= 0.50
*
* version: 1.0
* name:
* description: create trigger for scene which can interrupt scene with name passed during creating the trigger
* parameters: described bellow
*
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_sceneCreateSceneTrigger]]; --> |= Syntax
|gr1= Scenes


|p1= |= Parameter 1
|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.


| |= Return value
|s1= [sceneName, side, timeout, triggerSize, triggerPosition] call [[BIS_fnc_sceneCreateSceneTrigger]]
____________________________________________________________________________________________


|x1= <code></code> |=
|p1= sceneName: [[String]] - name of scene to associate with
____________________________________________________________________________________________


| |= See also
|p2= side: [[Side]] - for which side create trigger - which presence then interrupt the scene


}}
|p3= timeout: [[Number]] - timeout of interrupt
 
|p4= triggerSize: [[Number]] - size of the trigger
 
|p5= triggerPosition: [[Array]] - where to create the trigger
 
|p6= deleteTrigger: [[Boolean]] - if [[true]], trigger will be deleted


<h3 style="display:none">Notes</h3>
|r1= [[Nothing]]
<dl class="command_description">
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x1= <sqf>["BIS_scene", west, 5, 500, [1337,1337,0], false] call BIS_fnc_sceneCreateSceneTrigger;</sqf>
</dl>


<h3 style="display:none">Bottom Section</h3>
|seealso= [[BIS_fnc_sceneCreateSoundEntities]] [[BIS_fnc_sceneRotate]] [[BIS_fnc_sceneSetBehaviour]] [[BIS_fnc_sceneGetObjects]] [[BIS_fnc_sceneIntruderDetector]]
[[Category:Function Group: Scenes|{{uc:sceneCreateSceneTrigger}}]]
}}
[[Category:Functions|{{uc:sceneCreateSceneTrigger}}]]
[[Category:{{Name|arma2}}: Functions|{{uc:sceneCreateSceneTrigger}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:sceneCreateSceneTrigger}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:sceneCreateSceneTrigger}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:sceneCreateSceneTrigger}}]]

Latest revision as of 18:41, 13 July 2022

Hover & click on the images for description

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:
["BIS_scene", west, 5, 500, [1337,1337,0], false] call BIS_fnc_sceneCreateSceneTrigger;

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