Basically like any race, you can hook events or use War3 Forwards
1 You register the item, remember the itemid.
2 Create your events / loops
3 When events / loops are triggered, check if player owns the item, and do proper item effects
Common functions for an item: (see interface for details)
itemid= CreateShopItem(String:name[],String:desc[],String:cost[])
OnItemPurchase(client,item);
OnItemLost(client,item);
War3_GetOwnsItem(client,item);
War3_SetOwnsItem(client,item);
See Shopitem and other community made items for examples






Logged
DarkEnergy

