• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] War3 bugged

Status
Not open for further replies.

ABM

ABM

Level 7
Joined
Jul 13, 2005
Messages
279
hi everyone,

i just found a very weird bug....

i have a unit A and a dummy caster B
the caster B is ordered to target A with firebolt
it work and A is stunned 2 sec....

the unit A get permanent invisibility, the caster B has vision
i order B to target A with firebolt
nothing happen, B ignore the casting order and then after a small pause attack the unit A
but the target issued order was completly ignored...

why the order get messed up by the ability permanent invisibility?
since the caster B can see the target A with his vision abi...
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Yeah, units must have visibility over the target for them being able to interact with it. Doesn't seem like a bug :)

the unit A get permanent invisibility, the caster B has vision

Try change the Owner of the Dummy Caster to the Owner of the Target before order it to cast Firebolt on the Target.

  • Actions
    • Unit - Change ownership of DummyCaster to (Owner of (Target unit of ability being cast)) and Change color
    • Unit - Order DummyCaster to Neutral - Firebolt (Target unit of ability being cast)
Oh and don't forget to change the spell's (Firebolt) Stats - Targets Allowed: Alive

Else, own allied units won't get stunned.
 

ABM

ABM

Level 7
Joined
Jul 13, 2005
Messages
279
defskull
yes you are right, i did many test and here is my conclusion....


the dummy caster can target any unit invisible or not as long as it has vision BUT:
when the dummy is created and immediatly ordered to cast he failed
because it seems that when the dummy appear he doesn't have immediate vision, he can target normally unit wich are in visibility range BUT: when unit is invisible there is some kind of boolean check function wich take about 0.50 sec to enable visibility to the caster with "vision ability" on invisible unit.

if the caster is already in game he can target
if the caster is same team as target he can target (probably same if he is allied with vision)
if caster wait 0.5 sec before recieve the order he can target

but if you try to target without a wait in the same time you create the dummy caster on an invisible unit : it will always fail even if you have invi detection....
 
Status
Not open for further replies.
Top