• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Shop Event

Status
Not open for further replies.
Have one trigger per shop and map the shop to the trigger using a hashtable (then you can load it with GetTriggeringTrigger()).

Or you can make rects around each shop and then check which rect the unit is in, and map the rect to the shop (with a hashtable).

By "map", I mean to save the shop under the handle ID of the object. e.g.
call SaveUnit(hash, 0, GetHandleId(<trigger>), <shop>)
 
Status
Not open for further replies.
Top