Darkenneko
TH.net Regular
- Reaction score
- 3
P1 Small Gold
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Small Gold Pile
Actions
Set _M_Integer_Small_Gold = (Random integer number between 5 and 350)
Player - Set Player 1 (Red) Current gold to _M_Integer_Small_Gold
Custom script: call RemoveInteger( udg__M_Integer_Small_Gold )
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Small Gold Pile
Actions
Set _M_Integer_Small_Gold = (Random integer number between 5 and 350)
Player - Set Player 1 (Red) Current gold to _M_Integer_Small_Gold
Custom script: call RemoveInteger( udg__M_Integer_Small_Gold )
This is what I have, and it gives me a "Line 206:Expected a function name"
It highlights the custom script, what Did I do Wrong?
[The Integer variable is named _M_Integer_Small_Gold]
Thank You for Reading.
-Calvin