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 > Triggers & Scripts
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 01-19-2010, 04:18 AM   #1
Neversleeping
User
 
Neversleeping's Avatar
 
Join Date: Mar 2008
Posts: 257

Neversleeping has little to show at this moment (9)

Default Possible to restrict specific units from TP effect?

I wish to deny a specific unit passage with Town Portal scrolls. What's the easiest way of going about this? Is there some classification evolved that may solve this, or must I trigger it? If so, what would you suggest?

Thanks.
Neversleeping is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 01-19-2010, 12:54 PM   #2
Anitarf
Procrastination Incarnate


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

Submissions (19)

Anitarf has a brilliant future (888)Anitarf has a brilliant future (888)Anitarf has a brilliant future (888)Anitarf has a brilliant future (888)Anitarf has a brilliant future (888)Anitarf has a brilliant future (888)Anitarf has a brilliant future (888)Anitarf has a brilliant future (888)

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

Default

Try changing the "targets allowed" field on mass teleport to something like non-ancient or non-suicidal and then give that classification to all units you don't want affected. If that does not work, then that means the mass teleport spell is hardcoded to affect all player's units; you would then either need to trigger the spell effect completely or give the unaffected units to an allied computer player with shared unit control.
__________________
Anitarf is offline   Reply With Quote
Old 01-19-2010, 01:00 PM   #3
Neversleeping
User
 
Neversleeping's Avatar
 
Join Date: Mar 2008
Posts: 257

Neversleeping has little to show at this moment (9)

Default

That was my first thought, but the ability tied to the TP scroll has targets allowed: Structure, Vulerable, Invulnerable. Thus it seems that field is about the receiving unit (town hall?), not the transported ones.
Neversleeping is offline   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 12:05 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 - 2014, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services