Outbreak191
New Member
- Reaction score
- 17
On this trigger:
I get a compile error from the statement:
Which I see nothing wrong with. Can anyone help?
Code:
Bubbles Dead
Events
Unit - A unit Dies
Conditions
Actions
Set loc = (Position of (Dying unit))
Unit - Create 1 Bubbles Dead for (Owner of (Dying unit)) at loc facing Default building facing degrees
Custom script: set udg_loc = null
Custom script: local unit u = GetLastCreatedUnit()
Wait 1.00 seconds
Custom script: call RemoveUnit( u )
Custom script: set u = null
I get a compile error from the statement:
Code:
local unit u = GetLastCreatedUnit()
Which I see nothing wrong with. Can anyone help?