- Joined
- Mar 15, 2012
- Messages
- 2,878
So I decided to explore trying to make custom functions with CS in GUI however this pops up an error.
Apparently it expects a function name. . .
[trigger=]
Events
Conditions
Actions
Custom script: endfunction
Custom script: function Grow takes nothing returns nothing
Animation - Change growu's size to (growsize%, 100.00%, 100.00%) of its original size
[/trigger]
[trigger=]
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
Set growu = (Picked unit)
Set growsize = (growsize + 20.00)
Custom script: call Grow()
Set growu = No unit
[/trigger]
Apparently it expects a function name. . .
[trigger=]
Events
Conditions
Actions
Custom script: endfunction
Custom script: function Grow takes nothing returns nothing
Animation - Change growu's size to (growsize%, 100.00%, 100.00%) of its original size
[/trigger]
[trigger=]
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Loop - Actions
Set growu = (Picked unit)
Set growsize = (growsize + 20.00)
Custom script: call Grow()
Set growu = No unit
[/trigger]