Is there any way I can add units from the script to worldedit?
here is an example of the functions.
Code: Select all
function CreateUnitsForPlayer0 takes nothing returns nothing
local player p=Player(0)
local unit u
local integer unitID
local trigger t
local real life
set u=CreateUnit(p,'n03S',-6562.2,-10904.2,267.605)
set u=CreateUnit(p,'nvlk',4824.3,-11425.7,125.918)
set u=CreateUnit(p,'nvk2',4936.9,-11478.0,165.053)
set u=CreateUnit(p,'nvk2',-2306.6,-11043.3,149.133)
set u=CreateUnit(p,'nhef',1321.3,-9257.2,108.471)
endfunction