The same can be done for a weapons trader or gear trader - just create the custom array for each type of trader. Īdd to the init of your custom trader, along with any other code. Method to add specific custom items to a trader. If you stay 250 meters away from them for 30 minutes (real time), then they will replenish their stock. Their stock will remain the same until you've spent some time (and distance) away from them. (found in the unit's Objects: Special States) If you want the trader to remain static, uncheck Enable Simulation. This setVariable // this is for a supplies trader This setVariable // this is for a gear trader This setVariable // this is for an arms trader They can either be static or wander the map.Ģ. Traders are units that buy and sell gear.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |