Knocksious
Sweet, I got 2 little green bars!
- Reaction score
- 46
I can see the Playergroup leak, but the problem is that it doesn't give gold/lumber
fixed it, had to move the Call Removelocation to the end
Code:
Human Javelineer
Events
Unit - A unit enters Human Javelineer <gen>
Conditions
Actions
Custom script: local location Target
Set Target = (Center of Starting Upgrade Center Enter <gen>)
Unit - Remove (Entering unit) from the game
Unit - Create 1 Javlineer (human) for (Owner of (Entering unit)) at Target facing Default building facing degrees
Selection - Select (Last created unit) for (Owner of (Entering unit))
Camera - Pan camera for (Owner of (Entering unit)) to Target over 0.00 seconds
Custom script: call RemoveLocation (Target)
Game - Display to (All players matching ((Owner of (Entering unit)) Equal to (Matching player))) the text: You have selected t...
Game - Display to (All players matching ((Owner of (Entering unit)) Equal to (Matching player))) the text: |cffff0000 --------...
Player - Set (Owner of (Entering unit)) Current lumber to 5
Player - Set (Owner of (Entering unit)) Current gold to 200
fixed it, had to move the Call Removelocation to the end