User Tools

Site Tools


4rpl:commands:setunitammoware

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:setunitammoware [2024/09/18 18:11] – More Programming Notes section added Fireswamp4rpl:commands:setunitammoware [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 51: Line 51:
 ===== More Programming Notes ===== ===== More Programming Notes =====
  
-Do not use SetUnitAmmoWare on a unit that does not have an ammo bar, this includes both units that are under construction and base units that do not use ammo.+In game version 2.5.1 and earlier, **__do not use SetUnitAmmoWare on a unit that does not have an ammo bar__**, this includes units that are under constructionbase units that do not use ammo and base units with ammo that do not show their ammo bar (totems and ultracs).
  
 Attempting to run SetUnitAmmoWare on one of these units causes one of the following to occur: Attempting to run SetUnitAmmoWare on one of these units causes one of the following to occur:
Line 58: Line 58:
 Details of what settings cause one error or the other is not yet understood. Details of what settings cause one error or the other is not yet understood.
  
-For units in a CPACK, the relevant setting is Settings > Interface > Show unit ammo bar; if you want to modify the ammo type of that unit, ensure this setting is enabled.+For units in a CPACK, the relevant setting is Settings > Interface > Show unit ammo bar; if you want to modify the ammo type of that unit with 4rpl, ensure this setting is enabled.
  
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
4rpl/commands/setunitammoware.1726683099.txt.gz · Last modified: 2025/02/14 14:56 (external edit)