Warcraft III resources & community, 2003–2006 · archived

Some other spell work

5 posts
#1

Some other spell work

Is it possible to have a spell that changed the time from Nightto Day?
#2
It's very easy, just use a spell that summons a unit (eg. Dark Portal) make it summon a wisp or something, and make a trigger like this:
Events
--A unit enters (playable map area)
Conditions
--Entering unit type is equal to (wisp, or whatever unit you're using)
Actions
--Remove (entering unit) from the game
--Change time of day to 24.00 (or whatever time you want to change it to)

I recomend using a custom unit or a unit that can't be used on your map for the summoning so the trigger won't run every time you train that unit.
#3
aight thanks but wouldnt that make a death sequesnce adn youd see what ever it is die?
#4
use a untarget-spell as a dummy spell (e.g water elemental;
u have to set the number of units being
summoned to 0) und then use a trigger :

event - generic unit event: unit casts an ability

condition - ability being cast equal to "your dummy spell"

action - game : set time of day to "6"

hope it helps
#5
you can also use the suggestion above :
if u remove a unit, there isn't a death animation