BIS fnc sceneCreateSceneTrigger: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game version" to "|Game version=")
m (filled page)
Line 1: Line 1:
{{Function


{{Function|Comments=
|game1= arma2
____________________________________________________________________________________________


| arma2 |Game name=
|version1= 1.00


|1.00|Game version=
<!--|exec= server|=-->
____________________________________________________________________________________________


| <pre>
<!--|arg= local-->
/*******************************************************************************
*
* 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=
<!--|eff= local-->


|p1= |PARAMETER1=
|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.


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


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


| |SEEALSO=
|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
 
|r1= [[Nothing]]
 
|x1= <code>["BIS_scene,WEST,5,500,[1337,1337,0],[[false]]<noWiki>]</noWiki> call [[BIS_fnc_sceneCreateSceneTrigger]];</code>
 
|exec= call
 
|seealso= [[BIS_fnc_sceneCreateSoundEntities]] [[BIS_fnc_sceneRotate]] [[BIS_fnc_sceneSetBehaviour]] [[BIS_fnc_sceneGetObjects]] [[BIS_fnc_sceneIntruderDetector]]


}}
}}

Revision as of 17:31, 8 January 2020

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:
Uncategorised

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

Notes

Bottom Section