HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Day-time Shadow Meld

03-02-2004, 05:09 PM#1
RaeVanMorlock
Is there anyway to get Shadow Meld to work during the day? Or make a passive ability that'd keep a unit invisible so long as it stayed still?
03-02-2004, 05:33 PM#2
Kamux
Yes, just give tha abillity called "permanent invisibillity" to the units you want to be invisible always, except when they attack.

I don't think you can make shadowmeld to work at day with the object editor, but is is possible with triggers.
03-02-2004, 05:37 PM#3
Kamahl
Can't you do it by altering the buff? I'm pretty sure you can't do it with the spell editor, but I think you could with the buff editor.
03-02-2004, 05:39 PM#4
RaeVanMorlock
Quote:
Originally Posted by Kamux
Yes, just give tha abillity called "permanent invisibillity" to the units you want to be invisible always, except when they attack.


Permanent invisibility keeps them invisible while moving.
03-02-2004, 05:41 PM#5
TGhost
first of all remove shadow meld and give her the ghost thingy that makes her invisible forever then make a trigger wich should look like this:

Events:
Unit-(the unit wich should have the thing) Is issued an order targeting an object

Conditions:
(targeted Unit)belongs to an enemy of (owner of (ordered unit)equal to true

Actions:
Unit - Remove Ghost from(ordered unit)
Wait-5 seconds
Unit - add ghost to(ordered unit)

this should make it like that if she or he attacks then they become visible then after 5 seconds it gives them invisibility again but if they still attack then it will be removed instantly but thats only if it works
plz tell me if it worked ^_^
03-02-2004, 05:45 PM#6
TGhost
lol while i was typing all that alot of answers came but i still hope mine will work it should work both night and day cause i mean ghost does
and plz say if it does cause then this is the first time i can help someone

Edit:oh yeah im sry i forgot that i could edit the post :( me bad
03-02-2004, 05:58 PM#7
RaeVanMorlock
Quote:
Originally Posted by TGhost
lol while i was typing all that alot of answers came but i still hope mine will work it should work both night and day cause i mean ghost does
and plz say if it does cause then this is the first time i can help someone


Don't double-post, use the edit button.

And that won't work because you're basically simulating the Permanent Invisibility ability--and not very well at that since an attack could last .5 seconds and then the unit would need to wait an additional 4.5 seconds to turn invisible again.




Shadow Meld makes a unit invisible whenever it is standing still--not when it's attacking, moving, casting, or issuing any sort of order. But it only works at night.
Permanent Invisibility makes a unit invisible so long as its only standing or moving--not when it's attacking or casting. It works all day long.
I need a mixture of the two, something that will only work when standing still and during the whole day.
03-02-2004, 09:01 PM#8
Eriond
Couldn't you just use this trigger?

Events

Unit - Is issued an order targetting a point
Unit - Is issued an order targetting a object
Unit - Is issued an order with no target

Actions

Unit - Remove Peremant Invisibility from (Ordered Unit)

And have like taunt as the dummy ability making it so that

Events

Unit - Finishes Casting an Ability

Conditions

(Ability Being Cast) is equal to Daymeld (Or whatever)

Actions

Unit - Add Permenant Invisibilty to (Casting Unit)
03-02-2004, 10:24 PM#9
LegolasArcher
periodically find any units with a dummy ability, if there order = stop or null add invisibility, else remove it
03-02-2004, 10:48 PM#10
Darkblood
Do you need daytime?
If you dont, just lock the game time cycle to night time.. then they can shadowmeld through the whole game no matter when it is.
If you do need daytime to come around, then this wont work.. just an idea tho!
03-02-2004, 11:08 PM#11
linkmaster23
Quote:
Originally Posted by Eriond
Couldn't you just use this trigger?

Events

Unit - Is issued an order targetting a point
Unit - Is issued an order targetting a object
Unit - Is issued an order with no target

Actions

Unit - Remove Peremant Invisibility from (Ordered Unit)

And have like taunt as the dummy ability making it so that

Events

Unit - Finishes Casting an Ability

Conditions

(Ability Being Cast) is equal to Daymeld (Or whatever)

Actions

Unit - Add Permenant Invisibilty to (Casting Unit)

That would work... but doesn't 'Day'meld cast when the unit is not moving? You would need to detect when the unit stops moving, then cast or give him the ability. So the best way to do this is, during day time, make the trigger set the point that the unit is moving to, and use the fancy new Wait-for condition action, and wait until the unit comes inside of the points range.(boolean) Then make the trigger run itself, I am sure there is an easier way, I just can't think of one at the moment.
03-03-2004, 02:46 AM#12
RaeVanMorlock
I appreciate everyone's suggestions--really. I asked because I hoped there'd be an easy way to do it... some ability that I was over-looking, but I guess not.

My map certainly needs a day-night cycle, as some aspects of it are influenced by it. And adding/removing an ability is not a suitable solution for me as, well, it'd look crappy having an ability disappear and reappear all the time. I have my own trigger-based solution in mind that will work flawlessly... I'm just getting so tired of triggers and my map is starting to have more trigger-influenced spells that not.

Anyhow, thanks for the suggestions.
03-03-2004, 05:29 PM#13
Kamux
I have recently made a map where the day/night cycle is very important. It also has skills that only work at night. If you want my help, send a pm to me or post it here.