Driftmoon Modding Wiki

To add a status icon the action "addStatusIcon" can be used via scripting.


addStatusIcon Editor

This can be found in the player category in the script editor screen. This option has the following parameters:

  1. Name: Name of the status icon to be deleted via scripting and also is displayed in the icon tooltip
  2. Name: The second Name box is used to define the tooltip description.
  3. Icon: Image used for the icon. It must be a png format, size of 64x64 or the image will be stetched.
  4. Time: Duration of the icon on screen, 0 is permanent.
  5. clickScript: Name of the script which will be used if the icon is clicked.