(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Modding > World Editor Help Zone

World Editor Help Zone Need help with Blizzard's World Editor? Ask general questions about its features and use in this forum. README!

Reply
 
LinkBack Thread Tools Display Modes
Old 10-15-2008, 07:37 PM   #16 (permalink)
 
AirHead's Avatar

Agent 00COW
 
Join Date: Apr 2008
Posts: 368

AirHead has little to show at this moment (22)AirHead has little to show at this moment (22)AirHead has little to show at this moment (22)


here open this in the WE and look at the triggers and locations.
Attached Files
File Type: w3x cave port.w3x (16.9 KB, 3 views)
__________________
[15-12-11] General Frank: Goblins can hide in Ogre butts.
AirHead is offline   Reply With Quote
Old 10-15-2008, 07:54 PM   #17 (permalink)
 
iown_azz's Avatar

User
 
Join Date: Jun 2008
Posts: 12

iown_azz is an unknown quantity at this point (0)


Ok all you have to do is this, it is in jass code though
function Trig_Region_1_Conditions takes nothing returns boolean
    if ( not ( GetUnitTypeId(GetTriggerUnit()) == 'Edem' ) ) then
        return false
    endif
    return true
endfunction

function Trig_Region_1_Actions takes nothing returns nothing
    call SetUnitPositionLoc( GetTriggerUnit(), GetRectCenter(gg_rct_Region_001) )
endfunction

//===========================================================================
function InitTrig_Region_1 takes nothing returns nothing
    set gg_trg_Region_1 = CreateTrigger( )
    call TriggerRegisterEnterRectSimple( gg_trg_Region_1, gg_rct_Region_000 )
    call TriggerAddCondition( gg_trg_Region_1, Condition( function Trig_Region_1_Conditions ) )
    call TriggerAddAction( gg_trg_Region_1, function Trig_Region_1_Actions )
endfunction
but u have to name ur trigger to Region 1
iown_azz is offline   Reply With Quote
Old 11-05-2008, 06:32 AM   #18 (permalink)
 
Shendoo2's Avatar

Ask's Stupid Questions...
 
Join Date: Aug 2008
Posts: 90

Shendoo2 has little to show at this moment (2)


you guys are making it alot harder than it is.....

Events
Unit - A unit enters (Your Region)
Conditions
Actions
Wait 0.50 seconds
Unit - Move (Triggering unit) instantly to (a different region)

You'll need 4 regions so you wont tele back and fourth nonstop.
Shendoo2 is offline   Reply With Quote
Old 11-06-2008, 04:28 AM   #19 (permalink)
 
darkrider's Avatar

Sacred War Editor
 
Join Date: Dec 2007
Posts: 451

darkrider has little to show at this moment (19)darkrider has little to show at this moment (19)


guys... moving units from one point to another leaks information (read this plz Things That Leak )

and what O2 said is "create a variable with those points at the beginning of the game and use them always, do not delete them". By doing that, it wont leak and you dont have to use 3 lines of code... with only 1 is ok (and the lines that set those points at the beginning)

shendoo2: you are doing it wrong... that leaks... you should read what i linked to

Airhead: your map moves units from one cave to another in an infinit loop... what laggs the heck of a computer and makes it almost impossible to close :/

Oh!... btw squiggy you made a small mistake (srry cor correcting i know that might only be the name of the region)... in gui there are only regions, not rects like in jass, i say this coz the guy might be getting mad trying to find a rect :P

what airhead did is correct, but make it only to go ... not to come back :P
__________________
http://www.sacredwar.co.nr

<- if i've been helpful somehow, plz give 'em a click :)

Basic abilities... if you wanna learn a bit click here :) v4.0
darkrider is offline   Reply With Quote
Old 11-10-2008, 05:41 PM   #20 (permalink)
 
Epix_Loot's Avatar

User
 
Join Date: Aug 2006
Posts: 17

Epix_Loot is an unknown quantity at this point (0)


Or give the way gate the circle of power model and rename it "Cave entrance".
then put them in front of the Cave. Everyone will get the idea.
__________________

Last edited by Epix_Loot; 11-10-2008 at 05:44 PM. Reason: Spelling
Epix_Loot is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Mapping] Make a good cave(recommended) [Reviewed: Hawkwing] Oziris Tutorial Submission 25 10-27-2008 08:20 AM
Best way to make something look like cave/underground corley Terrain Board 6 07-15-2008 03:17 PM
A pirate cave. Mr. Bob Terrain Board 5 06-26-2008 05:31 AM
HELP!! How to make a dark and creepy cave??? I_PRIM3 Map Development 5 09-26-2006 02:15 PM

All times are GMT. The time now is 07:50 AM.






Your link here 
Loans | Credit Card | Business Credit Card | Credit Cards | Loans
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle