Moderator
M
Moderator
12:11, 17th Jun 2010
TriggerHappy:
Does what is says it does and the coding is good.
edit
18th December
Magtheridon96:
You should totally update this.
- (Triggering unit) should be cached into a unit variable.
- (Key (Triggering unit)) should be cached into an integer variable via custom script.
- There is a faster way for you to get the slot:
It's faster because it involes no strings or function calls.
TriggerHappy:
Does what is says it does and the coding is good.
edit
18th December
Magtheridon96:
You should totally update this.
- (Triggering unit) should be cached into a unit variable.
- (Key (Triggering unit)) should be cached into an integer variable via custom script.
- There is a faster way for you to get the slot:
JASS:
local integer orderId = GetIssuedOrderId() - 7
set slotNumber = orderId - orderId / 7 * 7