User Tools

Site Tools


4rpl:commands:addaswareholder

Index

AddAsWareHolder

AddAsWareHolder(<-unit <-wareType)

Description

Sets this unit as having a ware available to dispatch. This status must be set each frame that a ware is to be made available. This status is cleared at the end of each game frame, so setting it only makes it available for one frame. These are the ware types:

  • 1 = Anticreeper
  • 2 = Arg
  • 3 = Liftic
  • 4 = Bluite
  • 5 = Redon
  • 6 = Greenar

Should a ware packet be successfully sent, the built-in function :_WarePacketSent will be invoked.

Examples

AddAsWareHolder(self 1)

Index

4rpl/commands/addaswareholder.txt · Last modified: 2024/09/09 15:45 by Vertu