BIS fnc establishingShot: Difference between revisions
Jump to navigation
Jump to search
(added 8th parameter) |
Lou Montana (talk | contribs) (page format) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | Play a fake UAV observational sequence which serves as an establishing shot. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [target, text, altitude, radius, angle, rotation, iconOptions, mode, fadeIn] spawn [[BIS_fnc_establishingShot]] |= Syntax | ||
|p1= |= Parameter 1 | |p1= target: [[Object]] or [[Array]] - Target or target's position |= Parameter 1 | ||
|p2= text: [[String]] - Text to display |= Parameter 2 | |||
|p3= altitude: [[Number]] - (optional) Altitude (in meters) |= Parameter 3 | |||
|p4= radius: [[Number]] - (optional) Radius of the circular movement (in meters) |= Parameter 4 | |||
|p5= angle: [[Number]] - Viewing angle (in degrees) |= Parameter 5 | |||
|p6= rotation: [[Number]] - Direction of camera movement (0: anti-clockwise, 1: clockwise, default: random) |= Parameter 6 | |||
|p7= iconOptions: [[Array]] - Objects/positions/groups to display icons over<br /> | |||
Syntax: <nowiki>[[icon, color, target, size X, size Y, angle, text, shadow], (...)]</nowiki> |= Parameter 7 | |||
|p8= mode: [[Number]] - 0: normal (default), 1: world scenes |= Parameter 8 | |||
|p9= fadeIn: [[Boolean]] - Fade in after completion (default: true) |= Parameter 9 | |||
| |= Return value | | [[Boolean]] true when done |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>[player, "I can see my house from here", 500, 250, 75, 1, [], 0, true] spawn [[BIS_fnc_establishingShot]]</code> |= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= See also | | |= See also | ||
}} | }} | ||
Line 61: | Line 51: | ||
<dt class="note">[[User:Revo|Revo]]</dt> | <dt class="note">[[User:Revo|Revo]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
This function needs to be | This function needs to be executed with [[spawn]]. | ||
</dd> | </dd> | ||
</dl> | </dl> | ||
<!-- DISCONTINUE Notes --> | <!-- DISCONTINUE Notes --> |
Revision as of 17:40, 26 January 2018
Description
- Description:
- Play a fake UAV observational sequence which serves as an establishing shot.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [target, text, altitude, radius, angle, rotation, iconOptions, mode, fadeIn] spawn BIS_fnc_establishingShot
- Parameters:
- target: Object or Array - Target or target's position
- text: String - Text to display
- altitude: Number - (optional) Altitude (in meters)
- radius: Number - (optional) Radius of the circular movement (in meters)
- angle: Number - Viewing angle (in degrees)
- rotation: Number - Direction of camera movement (0: anti-clockwise, 1: clockwise, default: random)
- iconOptions: Array - Objects/positions/groups to display icons over
Syntax: [[icon, color, target, size X, size Y, angle, text, shadow], (...)] - mode: Number - 0: normal (default), 1: world scenes
- fadeIn: Boolean - Fade in after completion (default: true)
- Return Value:
- Boolean true when done
Examples
- Example 1:
[player, "I can see my house from here", 500, 250, 75, 1, [], 0, true] spawn BIS_fnc_establishingShot
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