forceWeaponFire – Talk
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "With the absence of official world on locality I tested this using this script: <code>if (isDedicated) then { sleep 10; _player = playableUnits select 0; _player forceWeaponF...") |
Lou Montana (talk | contribs) m (Text replacement - "<code>" to "<code style="display: block">") |
||
Line 1: | Line 1: | ||
With the absence of official world on locality I tested this using this script: | With the absence of official world on locality I tested this using this script: | ||
<code>if (isDedicated) then { | <code style="display: block">if (isDedicated) then { | ||
sleep 10; | sleep 10; | ||
_player = playableUnits select 0; | _player = playableUnits select 0; |
Latest revision as of 11:53, 11 January 2023
With the absence of official world on locality I tested this using this script:
if (isDedicated) then {
sleep 10;
_player = playableUnits select 0;
_player forceWeaponFire [currentWeapon _player, "FullAuto"];
diag_log [_player, "command done"];
};
The firemode changed but it didn't make my rifle fire. It works locally no problem. Added note to description to reflect this. -- KK