wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > General Development
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 04-10-2013, 10:05 PM   #1
Vespertine
User
 
Vespertine's Avatar
 
Join Date: May 2004
Posts: 68

Vespertine has little to show at this moment (0)

Default how to swap one unit for another within the WE GUI (not with triggers)?

Is there any way to swap one unit for another within the WE? I want to replace a unit on the map (map position being kept exactly the same) without having to re-edit the triggers associated with that unit.

I want to do this within the WE. I don't want to do it as a trigger once the map starts.

Last edited by Vespertine : 04-10-2013 at 10:07 PM.
Vespertine is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 04-11-2013, 09:13 AM   #2
Anitarf
Procrastination Incarnate


Development Director
 
Join Date: Feb 2004
Posts: 8,083

Submissions (19)

Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)

2008 Spell olympics - Fire - SilverApproved Map: Old School Alliance TacticsHero Contest #2 - 3rd PlaceSpell making session 2 winner

Default

I don't think it can be done. You'd need to delete the old preplaced unit (remember its exact coordinates beforehand if that is important) and then place the new one in its place. Then, you'd need to go through all the triggers where you referred to the old preplaced unit and refer to the new one instead (or use a variable this time, just in case you ever need to change it again).
__________________
Anitarf is offline   Reply With Quote
Old 04-11-2013, 03:28 PM   #3
Kyrbi0
~There we go~
 
Kyrbi0's Avatar
 
Join Date: May 2008
Posts: 2,886

Submissions (1)

Kyrbi0 has a spectacular aura about (143)

Send a message via MSN to Kyrbi0
Default

I mean, aside from (trigger) adding the ability Chaos, which will "replace" that unit with another entire unit (think the Fel Orcs replacing your normal Orcs from the RoC Campaign). Is that what you mean?

//also, it's Permanent and has some other side effects. Check the Wc3C Ability Guide for more info.
__________________

Last edited by Kyrbi0 : 04-11-2013 at 03:29 PM.
Kyrbi0 is online now   Reply With Quote
Old 04-11-2013, 08:41 PM   #4
Anitarf
Procrastination Incarnate


Development Director
 
Join Date: Feb 2004
Posts: 8,083

Submissions (19)

Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)Anitarf has a brilliant future (883)

2008 Spell olympics - Fire - SilverApproved Map: Old School Alliance TacticsHero Contest #2 - 3rd PlaceSpell making session 2 winner

Default

Yeah, I suppose you could hack it by adding a Chaos-based ability to your unit to immediately morph it to a different unit type when the map starts (not sure if you need a trigger to add it or if you can just add it in the object editor). I was wrong, there is a way after all. :)
__________________

Last edited by Anitarf : 04-11-2013 at 08:41 PM.
Anitarf is offline   Reply With Quote
Old 04-11-2013, 10:30 PM   #5
Kyrbi0
~There we go~
 
Kyrbi0's Avatar
 
Join Date: May 2008
Posts: 2,886

Submissions (1)

Kyrbi0 has a spectacular aura about (143)

Send a message via MSN to Kyrbi0
Default

I think you can give the unit Chaos in the World/Object Editor and not have it activated at the beginning, much like the Siege Engine (in TFT, upgrading the Siege Engine with Barrage physically transforms every new SE (and retroactively, each one you own on the map) into a SE with an attached rocket array.

Case in point, it can be done, but I think you'll still need triggers (unless you want to have the player physically click on an upgrade :P). Really it depends on what you need, exactly, and what we can get away with.

Object Editor FTW. :P
__________________
Kyrbi0 is online now   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 11:01 PM.


Donate

Affiliates
The Hubb http://bylur.com - Warcraft, StarCraft, Diablo and DotA Blog & Forums The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2013, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services