~~NOTOC~~ <=[[4rpl:start| 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 [[4rpl:commands:func_warepacketsent|:_WarePacketSent]] will be invoked. ===== Examples ===== AddAsWareHolder(self 1) <=[[4rpl:start| Index]]