wc3edit.net

United Warcraft 3 map hacking!
It is currently March 28th, 2024, 11:27 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: March 23rd, 2018, 7:31 pm 
Offline
Newcomer

Joined: March 19th, 2014, 11:42 pm
Posts: 5
so I've deprotected a map, took some stuff and made a new map, I want to be able to move/delete/add units however they are all in the script, I can add units and copy the information to the script however it's a pain in the ass, specially if I want to move units that are in the script.
Is there any way I can add units from the script to worldedit?
here is an example of the functions.
Code:
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


Top
 Profile  
 
PostPosted: March 24th, 2018, 1:45 am 
Offline
Newcomer

Joined: March 19th, 2014, 11:42 pm
Posts: 5
Also if I have no choice to do it manually I'd like to know If I can somehow input coordinates into worldedit for a unit.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)