S
saaaz
Guest
Hi!
I've just started using worldedit and I'm having some trouble figuring out how a few things work. I have some experience with triggers and mapcreation from starcraft so I'm not entirely noob.
Question 1:
When you create a custom unit or ability you get the fields from the unit/spell that you chose as base. But what if you want to add other fields that aren't default for that unit? Is there a way to be able to chose which fields your unit shall have?
I'm trying to create a sleep ability for my hero (as a normal ability) similiar to the one the undead hero has, only this one is supposed to be a self-spell which increases your health-regeneration.
When you click the icon it should put the hero into sleep, increasing his health regen by say 200%, making it impossible to move or do any actions except pressing the sleep button again, taking the hero out of sleep.
I tried using the undead spell as base, but couldn't find any fields for giving the hero health, so instead I chose rejuvenation and changed some effects to the sleep ones. In either case the hero was able to move after being put to sleep, and you had to select a target for the spell.
Any help on how to do this is greatly appriceated. It will give me a clue on how this editor really works.
Question 2:
I have a small region in which I want 2 neutral hostile units to walk around randomly in, except for when they are sleeping at night and when attacking a player of course.
I'm trying like this but it is obviously not working:
Events
Unit - A unit enters Monster 1 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Neutral Hostile
Actions
Unit - Set Rally-Point for (Triggering unit) to (Random point in Monster 1 <gen>)
How to make it work? Maybe an action for moving the unit to the new rally point? It would be cool to make new points for movement every 2 or 3 seconds. Is there any Always condition like in starcraft?
Thanks in advance for any help!
I've just started using worldedit and I'm having some trouble figuring out how a few things work. I have some experience with triggers and mapcreation from starcraft so I'm not entirely noob.
Question 1:
When you create a custom unit or ability you get the fields from the unit/spell that you chose as base. But what if you want to add other fields that aren't default for that unit? Is there a way to be able to chose which fields your unit shall have?
I'm trying to create a sleep ability for my hero (as a normal ability) similiar to the one the undead hero has, only this one is supposed to be a self-spell which increases your health-regeneration.
When you click the icon it should put the hero into sleep, increasing his health regen by say 200%, making it impossible to move or do any actions except pressing the sleep button again, taking the hero out of sleep.
I tried using the undead spell as base, but couldn't find any fields for giving the hero health, so instead I chose rejuvenation and changed some effects to the sleep ones. In either case the hero was able to move after being put to sleep, and you had to select a target for the spell.
Any help on how to do this is greatly appriceated. It will give me a clue on how this editor really works.
Question 2:
I have a small region in which I want 2 neutral hostile units to walk around randomly in, except for when they are sleeping at night and when attacking a player of course.
I'm trying like this but it is obviously not working:
Events
Unit - A unit enters Monster 1 <gen>
Conditions
(Owner of (Triggering unit)) Equal to Neutral Hostile
Actions
Unit - Set Rally-Point for (Triggering unit) to (Random point in Monster 1 <gen>)
How to make it work? Maybe an action for moving the unit to the new rally point? It would be cool to make new points for movement every 2 or 3 seconds. Is there any Always condition like in starcraft?
Thanks in advance for any help!


