HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Portal spell

04-12-2004, 06:08 PM#1
Saxter2004
Please excuse my being a noob!
But is there a way to make an ability that creates a portal in front of the unit and allows you and some other units to walk through the portal like a waygate to another portal that you summon by clicking somewhere on the map? I'm just wondering if this is possible through JASS or triggers. Any help would be nice.

Also, does anyone know where to find the map with the backpack items that give you more than 6 inventory slots?
04-12-2004, 06:38 PM#2
[niro]
Hmmm, a way to make the Tp thing work....

Have a spell that creates a ward, but make the ward invisible to enemy units and make it invulenerable, have the spell's duration like 1 second so right after he spawns the ward dies. But before you have the ward die you move a region to the postion of the unit. And create another unit at the postion of the summoing hero that looks like a portal. This is hard to explain so i'll just demonstrate it.

You will need 3 triggers, 3 units and 1 variable
variable is
name |-Portal
type |-Unit

Units are The hero, the Portal itself, and the Portal target

-Trigger 1-
Event
Unit enters (Playable Map Area)
Condtion
(Entering Unit) equal to (Teleport Target)
Action
Move (Region 001) to postion of (Entering Unit)
Create (Portal) at postion of (the hero)
set (Last Created Unit) to (Portal)
Move (Region002) to postion of (Portal)
Trigger run (Trigger 3)

Then have another trigger to teleport the unit

-Trigger 2-
Event
Unit enters (Region002)
Condtion
Unit equal to (the hero)
Action
Move (Entering Unit) to (Region001) instantly
Pan Camera for (Owner of(the hero) to (Region001) over 0.00 seconds

Finally have a trigger that kills the portal after a set amount of time

-Trigger 3-
Event
none
Condtion
none
Action
Wait 60 seconds
Kill (Portal)

That should do it,
Oh and the backpack things can be found in the download section under Jass enchanced spells
*edit - the link is here http://www.wc3sear.ch/index.php?p=Spells&ID=40&sid=

Hope this helps!
04-12-2004, 11:21 PM#3
Saxter2004
Thank you very much!!!!!
04-13-2004, 02:35 AM#4
PEON1577
Quote:
Originally Posted by Saxter2004
Thank you very much!!!!!
np, also check out jass vault -- theres a d2 style tp system that would do what you want & more, tad advanced though.