BIS fnc effectFiredRocket: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (cut irrelevant information)
Line 42: Line 42:
<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 -->
<!-- DISCONTINUE Notes -->

Revision as of 20:53, 15 December 2014


Hover & click on the images for description

Description

Description:
N/A
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

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

Notes

Bottom Section

Posted on November 13, 2014 - 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)