 |   |  |  |
| World Editor Help Zone Need help with Blizzard's World Editor? Ask general questions about its features and use in this forum. README! |
 |
09-05-2006, 01:15 AM
|
#1 (permalink)
|
User
Join Date: Aug 2006
Posts: 3
|
Some Questions
Well, I'm working on a map, where when a User's hero health goes down slowly while "outside" of a building, but when the Hero is inside, it gains health, or that effect wears off. I'm not totally sure how to work it out. It'd be like in the game Wilderness Survival, how you need to stay heated, and regenerate back at your camp fire.
Also, are there any RPG-sort of tutorials I can take a look at ... because I need to figure out how to create a profession choosing system, or if someone could explain to me how it works, that would be very nice too. I'd also need to know if theres anyway to show a seperate experience gain in the profession, seperate from the Hero Level experience bar...
Any answers/suggestions would be much appreciated, thank you.
Last edited by CheM.Vox; 09-05-2006 at 02:58 AM..
Reason: Added more queries
|
|
|
09-05-2006, 01:21 AM
|
#2 (permalink)
|
Chiodos Fan.
Join Date: Jun 2006
Posts: 547
|
No...You can just make a trigger like, (If you want the hero to lose 1 life per 2 seconds outside.)
Events
Time - Perodic Event - Every 2 seconds
Conditions
Actions
Deal 1 normal damage to (Chem.vox's unit)
Argh...something like that. Some one help me to put it in Triggy boxes again?
Then as for the healing stuff, you put a unit with the 'healing ward aura/healing fountain aura thingy', and give the unit the ability 'locust' so you wouldn't be able to click on the stuff you go inside. And lastly, set the model to 'tree of life upgrade' under abilities models. I'm sorry if I confused you some where :s I'm not very good with triggers.
|
|
|
09-05-2006, 01:24 AM
|
#3 (permalink)
|
Chiodos Fan.
Join Date: Jun 2006
Posts: 547
|
But the object data thing that I just said would do the healing effect indoors just fine. Of course, place it in the area you wanted it to regen! And make sure to set unit collision to 0!
|
|
|
09-05-2006, 01:34 AM
|
#4 (permalink)
|
User
Join Date: Aug 2006
Posts: 3
|
Hmm ... would there be a way to work the triggers using Regions?
|
|
|
09-05-2006, 06:40 AM
|
#5 (permalink)
|
User
Join Date: Feb 2006
Posts: 1,680
|
Yes it would. Well, I asome this is a RPG, and you only control one hero:
Loosing Life trigger:
 Test
''Oustide'' is just a boolean to keep track of if the hero is outside of inside.
now we have made that if a unit enters a ''house'' he will start gaining mana, and he will loose mana while being outside. But we need to make a trigger who says when a unit enters the house:
 Test
We also need a trigger that says when the unit leaves the house:
 Test
that should be it
__________________
This post is written by
~Operator
____
Last edited by Warnicro; 09-05-2006 at 07:49 PM..
|
|
|
09-05-2006, 08:10 AM
|
#6 (permalink)
|
Chiodos Fan.
Join Date: Jun 2006
Posts: 547
|
Ah...There's the triggerer. But where's the trigger boxes?
|
|
|
09-05-2006, 03:49 PM
|
#7 (permalink)
|
User
Join Date: Feb 2006
Posts: 1,680
|
I coulden't find out how to make them :S
__________________
This post is written by
~Operator
____
|
|
|
09-05-2006, 05:31 PM
|
#8 (permalink)
|
User
Join Date: Aug 2006
Posts: 3
|
I had trouble finding some things but, I'll try putting Trigger in.
 Lose Hp  Events  Time - Every 2.00 seconds of game time  Conditions  Actions  For each (Iteger A) from 1 to 12, do (Actions)  Loop - Actions  If (All Conditions are True) then do (Then Actions) else do (Else Actions)  If Conditions  Then - Actions  Unit - Set life of (Triggering Unit) to (Life of (Triggering unit))  Else - Actions  Unit - Set life of (Triggering Unit) to (Life of (Triggering unit))
I couldn't find the +1.00, -1.00 in there, nor the "Outside[(Integer A)] Equal to True". :S
Also, in the other ones I couldn't locate the "Set Outside[(Player number of (Owner of (Triggering unit)))] = True" Could you tell me where these are?
|
|
|
09-05-2006, 06:26 PM
|
#9 (permalink)
|
User
Join Date: Feb 2006
Posts: 1,680
|
You have to create a variable boolean called ''outside
__________________
This post is written by
~Operator
____
|
|
|
09-05-2006, 08:19 PM
|
#10 (permalink)
|
cinematographer
Join Date: Jun 2004
Posts: 529
|
ehm, why don't you just make a building and give it an healing aura?
|
|
|
09-06-2006, 03:54 PM
|
#11 (permalink)
|
User
Join Date: Feb 2006
Posts: 1,680
|
Well, that would work. But it woulden't be as exact as my trigger
__________________
This post is written by
~Operator
____
|
|
|
09-07-2006, 12:40 AM
|
#12 (permalink)
|
Chiodos Fan.
Join Date: Jun 2006
Posts: 547
|
That's precisely what I said, warnico, but he wants to lose health outside. And he wants it to work with regions.
|
|
|
09-08-2006, 12:21 AM
|
#13 (permalink)
|
cinematographer
Join Date: Jun 2004
Posts: 529
|
Well make him loose life with a periodic event and maintain that trigger to execute, and then place aura buildings wherever you want the person to re-charge ;)
|
|
|
09-14-2006, 09:35 PM
|
#14 (permalink)
|
User
Join Date: May 2004
Posts: 207
|
just set units hpreg to negative and use healing auras like warnicro said
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|  |  |  |  |   |  |
|