Saturday, April 21, 2012

building dragon wars level but its rocket science HELP!!

i started making a new dragon wars map and I dont know how to do somethings in the editor.

1) how to place a manafountain that is visable and works in the game.

2) how to make my dragons attacks actually work instead of just seeing a big blob of fire above its head.

3) how to get way gates to work

PLEASE HELP!!! |||Ive been searching for a Leaderboard wich shows Damage, Not points, not kills. I have never found one and im DESPERATE for help! I wanna know how to set a integer variable to store how much damage a specefic unit have done. How is this possible? PLEASE help me.|||1- mana fountains are neutral units, check it on unit palette [u], also you can create custom mana fountain via Object Editor[f6] units tab - use search for default unit that you want copy.

2- Object Editor - set art graphics, art - missile... etc. use fire trap or any Lighting effect. Other way is creating an effect via trigger editor, remember destroy effect if u use that, to prevent memory leaks.

3- Way gates works with regions and another way gates. If u place a way gate on your map select it and press enter to set destination. also via trigger option you can set destination of way gate, but only work with regions made with region layer.|||Quote:






View Post

Ive been searching for a Leaderboard wich shows Damage, Not points, not kills. I have never found one and im DESPERATE for help! I wanna know how to set a integer variable to store how much damage a specefic unit have done. How is this possible? PLEASE help me.




mmm.

not posibble, blizzard does not make function where you get unit-damage.

a way could be you make a trigger with unit atacked event and calculate damage per healt points loses, but it is hard and erratic.|||Quote:




I wanna know how to set a integer variable to store how much damage a specefic unit have done.




I can't remember exactly, but I think there is a "takes damage", or something like that, event that you can reference to do what you need. I think it's only available as a specific-unit event, so you would need to create a trigger that would pick every unit in the game, add them to a trigger with that event, and then you could set your variables with that trigger.

But it's been a while, so I can't remember exactly.|||yes, "takes damage" trigger exist on -specific unit event- but in GUI editor only works with predefined units on the map. Use -damage source- if u use this trigger.|||You can use it for any unit that you like by using the add event to trigger action at any time during the game.

For instance:

unit enters playable map area (is created)

add event to trigger...

Then you just reference the entering unit, which will be the "specific unit" that will be added with that event.

No comments:

Post a Comment