BIS fnc animatePicture: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.78 | |1.78 | ||
|gr1 = Systems | |gr1 = Systems | ||
<!---|arg= local |Multiplayer Arguments=---> | <!---|arg= local |Multiplayer Arguments=---> | ||
Line 43: | Line 43: | ||
] | ] | ||
call BIS_fnc_animatePicture; | call BIS_fnc_animatePicture; | ||
*/</pre>{{placeholder}}<!-- Remove this after fill-in --> | */</pre>{{placeholder}}<!-- Remove this after fill-in --> | ||
|[] call [[BIS_fnc_animatePicture]] | |[] call [[BIS_fnc_animatePicture]] | ||
|p1= parameter: Datatype - (Optional, default defValue) description | |p1= parameter: Datatype - (Optional, default defValue) description | ||
|Datatype - description | |Datatype - description | ||
|x1= <code></code> | |x1= <code></code> | ||
|exec= call |Execution= | |exec= call |Execution= | ||
| | | | ||
}} | }} | ||
Revision as of 22:38, 17 January 2021
Description
- Description:
/* Author: Riccardo Argiolas Description: Translates (relative or absolute), scales (relative or absolute), sets the alpha over time. Parameters: Select 0 - CONTROL: picture that has to be modified Select 1 - NUMBER: duration of the animation (or speed of the translation, in case _translateUsingDuration is set to false) Select 2 - ARRAY: array containing translation parameters Select 0 - ARRAY: x and y translation coordinates Select 1 - BOOL: whether the coordinates are relative (ie: will be added to the picture's current position) or absolute (move picture to those coordinates, ignoring current position) Select 2 - BOOL: whether the _durationOrSpeed variable will be treated as a normal duration (by default) or as the translation speed. Select 3 - ARRAY: array containing scaling parameters Select 0 - ARRAY or NUMBER: x and y scale "amounts". If only a number is passed, both the x and y will be equal to that number Select 1 - BOOL: whether the amounts are relative or absolute Select 2 - STRING: the pivot/center of the scaling process Select 4 - NUMBER: alpha/transparency of the image at the end of the animation (1 = invisible) Returns: NUMBER: Duration of the animation. (Useful for determining how much sleep time is needed between animations) Examples: _t = [ _controlFront, 1, [[0.5, 0.5], true, false], [], 0.5 ] call BIS_fnc_animatePicture; */
Template:placeholder- Execution:
- call
- Groups:
- Systems
Syntax
- Syntax:
- [] call BIS_fnc_animatePicture
- Parameters:
- parameter: Datatype - (Optional, default defValue) description
- Return Value:
- Datatype - description
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