You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: customCommands.lua
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -205,4 +205,21 @@ customCommands = {
205
205
end
206
206
end
207
207
end,
208
+
209
+
-- @description handler API used for removing unit by any means which (re)sets the system to proper state once called (by removing)
210
+
-- @argument unitID [number] Spring unitID
211
+
-- @argument unitDefID [number] Spring unitDefID
212
+
-- @argument teamID [number] Spring teamID
213
+
-- @comment IMPORTANT NOTE: this funciton removes units commands regards CURRENT team. If supposed to be called to remove commands to solve sharing units cleanup, it should be called with oldTeamID.
0 commit comments