(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 12-02-2008, 05:21 AM   #1 (permalink)
 
Rethon's Avatar

User
 
Join Date: Feb 2008
Posts: 48

Rethon has little to show at this moment (1)


Flames

how do i made a trigger for when a unit enters region it starts getting damage
ive made this spot with fire in it and i want to make trigger damage unit in region
Rethon is offline   Reply With Quote
Old 12-02-2008, 05:26 AM   #2 (permalink)
 
cheesdude's Avatar

I'm..sssooo.. startled...
 
Join Date: Apr 2005
Posts: 475

cheesdude has little to show at this moment (9)


Quote:
Originally Posted by Rethon View Post
how do i made a trigger for when a unit enters region it starts getting damage
ive made this spot with fire in it and i want to make trigger damage unit in region
Event - unit enters region x

action -- deal x damage to unit (I don't remember the exact wording because i don't have WE installed anymore. I believe the damage thing is in generic or specific unit events.)

Make sure you have the region.
cheesdude is offline   Reply With Quote
Old 12-02-2008, 07:24 AM   #3 (permalink)
 
KYTON's Avatar

User
 
Join Date: Oct 2007
Posts: 138

KYTON has little to show at this moment (8)


How about having a timer that deals damage to all units in the area every second? That would work.
__________________
Download C.H.A.O.S and prepare yourself for the ultimate AOS experiance:

CHAOS version 0.4.2

Sorry, but I'm currently on vacation. I'll be back on the 10th.
KYTON is offline   Reply With Quote
Old 12-02-2008, 07:29 AM   #4 (permalink)
 
Rethon's Avatar

User
 
Join Date: Feb 2008
Posts: 48

Rethon has little to show at this moment (1)


flames

explain how to do it?
or post a example
Rethon is offline   Reply With Quote
Old 12-02-2008, 07:31 AM   #5 (permalink)
 
Zenerik's Avatar

I'm just a ordinary newb.
 
Join Date: May 2008
Posts: 26

Zenerik has little to show at this moment (2)


Quote:
Originally Posted by cheesdude View Post
Event - unit enters region x

action -- deal x damage to unit (I don't remember the exact wording because i don't have WE installed anymore. I believe the damage thing is in generic or specific unit events.)

Make sure you have the region.
cheesdude,I believe Rethon was talking about damage over time, or damage per second. In that case, your trigger won't work since it's instant damage.

To Rethon, this trigger is actually pretty simple but in my way you'll use 2 trigger instead of one. The first one is the "enter the region" thingy, I'm pretty sure you've known that already.

The second trigger, first you should create a variable type "Unit Group" (not an array) and name it "BurningUnit" or whatever you want. That group will determine which unit is burned and which is not.
Now back to the first trigger, in the action part, do it like this: Unit Enter Region ---> Action: Put that unit into the unit group you just created ( i don't have WE right now so you'll have to find it out yourself, )

Again with the 2nd trigger, this is what make your unit take damage, do this:
_ Event: Every 1 ( or else ) second of game time ( the Periodic Event thingy )
_ Action: Unit - Set [unit match condition [belongs to the BurningUnit Group]]'s HP to [Current Hp - [damage]]

Or an alternative action: Unit - Cause [some unit] to deal [X] damage to [unit in the BurningUnit Group].

There you go then, any unit enter the region should take some damage every second. Sorry for some confusions cause by the lack of WE.
Zenerik is offline   Reply With Quote
Old 12-02-2008, 07:36 AM   #6 (permalink)
 
cool_is_i's Avatar

BIG GEM!!! Boohyea
 
Join Date: Oct 2007
Posts: 326

cool_is_i has little to show at this moment (56)


or, you could just create a dummy unit, and give it permanent immolation and locust.
Locust = cannot be selected
Immolation = dmg over time, adn you can edit the spells dmg values.

so you just place the dummy unit[s] in the flaming area :)

much simpler
__________________

Want to make elevators for your dungeon map? Don't know how?Check out my Tutorial!
[click here]
--------------------------------------------------
I make good playable terrains,PM me if you need something done. Im really swamped atm, cant take any more requests.
--------------------------------------------------
Did you know? Hippopotomonstrosesquippedaliophobia is a Phobia of long words . Dont believe me? Click Here!
cool_is_i is offline   Reply With Quote
Old 12-02-2008, 07:44 AM   #7 (permalink)
 
Zenerik's Avatar

I'm just a ordinary newb.
 
Join Date: May 2008
Posts: 26

Zenerik has little to show at this moment (2)


Quote:
Originally Posted by cool_is_i View Post
or, you could just create a dummy unit, and give it permanent immolation and locust.
Locust = cannot be selected
Immolation = dmg over time, adn you can edit the spells dmg values.

so you just place the dummy unit[s] in the flaming area :)

much simpler
Good thinking, I ( and maybe Rethon ) was talking about trigger, but you have the great and creative way to do it. Nice.

One thing, if the burning area is a circle, then we can put only 1 dummy and set the AOE based on the area's size. But if the terrain is much more complicated, then we must put in more and even more dummy, which cause more memory usage. Too much memory usage cause lag. My way, which may seems complicated in words, is simple and short in triggers. There'll be 2 triggers each have like, 2 lines, 1 for event, 1 for action. And a simple variable.
Zenerik is offline   Reply With Quote
Old 12-02-2008, 08:10 AM   #8 (permalink)
 
Rethon's Avatar

User
 
Join Date: Feb 2008
Posts: 48

Rethon has little to show at this moment (1)


flames

what i mean is kinda like a cloak of flames or immolation
that if a unit/ship is in the region with the flames it gets damaged as if its a cloak of flames get it?
Rethon is offline   Reply With Quote
Old 12-02-2008, 08:14 AM   #9 (permalink)
 
Zenerik's Avatar

I'm just a ordinary newb.
 
Join Date: May 2008
Posts: 26

Zenerik has little to show at this moment (2)


Quote:
Originally Posted by Rethon View Post
what i mean is kinda like a cloak of flames or immolation
that if a unit/ship is in the region with the flames it gets damaged as if its a cloak of flames get it?
We got your point. Both cool_is_i's and my way would work for you. Feel free to use them.
Zenerik is offline   Reply With Quote
Old 12-02-2008, 08:42 AM   #10 (permalink)
 
TheBlooddancer's Avatar

Cute Kargo is Cute :3
 
Join Date: Jun 2008
Posts: 2,674

TheBlooddancer is just really nice (418)TheBlooddancer is just really nice (418)TheBlooddancer is just really nice (418)TheBlooddancer is just really nice (418)TheBlooddancer is just really nice (418)


I think he really is newbish. I dont know if he even bothered to read your posts.

Just do as they said, and make a footman, give him the ability 'Locust' and 'Permanent immolotion'.
That way, you cant select the footman, and units near him will get dmg.

Then set his model to '.mdl' so that you cant see him.
__________________
Last edited by The Administration; Today at 15:08 PM.. Reason: Do not spam, flame, harass and discriminate other users in a such way.



TheBlooddancer is offline   Reply With Quote
Old 12-02-2008, 08:55 AM   #11 (permalink)
 
cool_is_i's Avatar

BIG GEM!!! Boohyea
 
Join Date: Oct 2007
Posts: 326

cool_is_i has little to show at this moment (56)


yep,
exactly what i mean.
__________________

Want to make elevators for your dungeon map? Don't know how?Check out my Tutorial!
[click here]
--------------------------------------------------
I make good playable terrains,PM me if you need something done. Im really swamped atm, cant take any more requests.
--------------------------------------------------
Did you know? Hippopotomonstrosesquippedaliophobia is a Phobia of long words . Dont believe me? Click Here!
cool_is_i is offline   Reply With Quote
Old 12-02-2008, 09:39 AM   #12 (permalink)
 
Rethon's Avatar

User
 
Join Date: Feb 2008
Posts: 48

Rethon has little to show at this moment (1)


i dont get what u mean I DID read posts
Rethon is offline   Reply With Quote
Old 12-02-2008, 09:49 AM   #13 (permalink)
 
DarkAngelAzazel's Avatar

Envoy of the Apocalypse
 
Join Date: Sep 2008
Posts: 412

DarkAngelAzazel has little to show at this moment (36)DarkAngelAzazel has little to show at this moment (36)DarkAngelAzazel has little to show at this moment (36)DarkAngelAzazel has little to show at this moment (36)


Oh looool.... Before making a map and asking such questions you should really read a beginners tutorial or something like that.

Dummy unit: A unit which model was set to (custom path) a model which does not exist. So the unit will have NO model. (example model: NONE.mdl)

Then the unit gets the abilty LOCUST which will make it invul, unselectable.
Then you add the immolation to that unit. (you should remove the imo effect)
Then you place the unit in the center of that area.
Then you make sure the owner is neutral hostile.

THEN YOU ARE HAPPY!!!

(I would remove the shadow of the unit as well)
__________________
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe"

Quote from Albert Einstein
DarkAngelAzazel is offline   Reply With Quote
Old 12-02-2008, 10:49 AM   #14 (permalink)
 
Zenerik's Avatar

I'm just a ordinary newb.
 
Join Date: May 2008
Posts: 26

Zenerik has little to show at this moment (2)


He wants triggers, I gave him triggers, and now, Rethon doesn't even understands the triggers (I apologize for describing triggers in such complicated way). So he wants something like Cloak of Flames or Immolation, and cool_is_i gave him that. Still he doesn't understand?

@Rethon: you really need to have some research on tutorials and the WE itself. Try creating things and see what it turns out. You'll be good someday.
Zenerik is offline   Reply With Quote
Old 12-02-2008, 04:35 PM   #15 (permalink)
 
darkrider's Avatar

Sacred War Editor
 
Join Date: Dec 2007
Posts: 569

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


@Zenerik there is a bug in your trigger... you forgot to remove the entering unit from damage group when leaving the region :P

that would mean another trigger

unit leaves region

unit is in damage group equal to true

remove leaving unit from damage group
darkrider 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
Wheel of Flames ragingspeedhorn World Editor Help Zone 3 03-08-2006 10:49 AM

All times are GMT. The time now is 05:56 AM.






Your link here 
Guitar Books | The eBay Song | Power Rangers | Bankruptcy | Xecuter 3 Mod Chip
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle