BIS fnc effectFiredRocket: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - ">Posted on November ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-11-$1")
 
(38 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


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


| arma3 |= Game name
|gr1= Effects


|1.00|= Game version
|descr= ''N/A''
____________________________________________________________________________________________


| ''N/A'' |= Description
|s1= <!-- [] call [[BIS_fnc_effectFiredRocket]] -->
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_effectFiredRocket]]; --> |= Syntax
|r1=


|p1= |= Parameter 1
|x1= <!-- <sqf>[] call BIS_fnc_effectFiredRocket;</sqf> -->


| |= Return value
|seealso=
____________________________________________________________________________________________
}}


|x1= <code></code> |=
____________________________________________________________________________________________


| |= See also
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
<dt></dt>
[[Category:Function Group: Effects|{{uc:effectFiredRocket}}]]
<dd class="notedate">Posted on 2014-11-13 - 21:21 (UTC)</dd>
[[Category:Functions|{{uc:effectFiredRocket}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:effectFiredRocket}}]]
 
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on November 13, 2014 - 21:21 (UTC)</dd>
<dt class="note">[[User:DreadedEntity|DreadedEntity]]</dt>
<dt class="note">[[User:DreadedEntity|DreadedEntity]]</dt>
<dd class="note">
<dd class="note">
This command doesn't do a lot. It only makes the vehicle you are in appear to have fired a rocket. No rockets are actually fired, no sound is made, nothing explodes. The only thing that happens is one little puff of smoke blows out of the back of your vehicle. [[BIS_Effects_RocketTrail]] is spawned at the end of the script, but it is commented out. I can only guess what it does since that command cannot be found here on the wiki, nor in the function viewer.<br><br>
This function only makes a puff of smoke come out the back of the vehicle used as input
 
Looking in the function viewer reveals that only the first and last elements from the input array actually do anything, and there are no [[BIS_fnc_param]] calls to catch bad input, to me this indicates a WIP command. The command takes 5 parameters. Only the first and last are important, though. The second line in the script is:
<code>_sh = [[nearestObject]] [_this select 0, _this select 4];</code>
So you can figure out acceptable parameters on your own.<br><br>
As I stated above, the other 3 parameters are currently not used anywhere in the script. They can even be [[nil]].<br>
Here is an example of use:<br>
<code>[getPos player, nil, nil, nil, typeOf player] call BIS_fnc_effectFiredRocket;</code>
'''(A3 1.34.128075)'''
'''(A3 1.34.128075)'''
</dd>
</dd>
</dl>
</dl>
<!-- DISCONTINUE Notes -->

Latest revision as of 23:13, 13 May 2023

Hover & click on the images for description

Description

Description:
N/A
Execution:
call
Groups:
Effects

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Examples:
Example needed

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


Posted on 2014-11-13 - 21:21 (UTC)
DreadedEntity
This function only makes a puff of smoke come out the back of the vehicle used as input (A3 1.34.128075)