• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Weird problem

Status
Not open for further replies.
Level 6
Joined
Feb 5, 2012
Messages
1,685
I have a map..

I create a spell..

I create a dummy..

The owner is Computer Player..

I add storm bolt to the dummy..

I order the dummy to stun me..

WHAT THE HECK THE DUMMY WONT STUN ME!!!

I check the ability.. tried it no problem..

I try to order the dummy to stun me again..

WHAT THE HECK THE DUMMY WONT STUN ME!!!

I remove anything except the trigger...

I just making sure other triggers will not cause the problem..

I try to order the dummy to stun me again..

WHAT THE HECK THE DUMMY WONT STUN ME!!!

I change the owner of the dummy to User Player..

WHAT THE HECK THE DUMMY STUN ME!!!

Whats the problem with the computer player?
:ogre_rage::ogre_rage::ogre_rage::ogre_rage::ogre_rage:
 
Level 6
Joined
Feb 5, 2012
Messages
1,685
If you will just suggest that your trigger has problem or your ability has a problem.. don't bother suggest it..

The trigger is very very simple..

Event - Unit Starts the effect of the ability
Condtion - Ability being cast equal to ABILITYXXX
Action - Create a dummy at the caster position
Add storm bolt to the dummy
Order the dummy to stun UNIT XXX

The ability has the same Target Allowed which is enemy ground air... no manacost with 1 sec. cooldown... 1000 cast range.. 100 damage.. 3 sec. duration

I thought the problem is the ability so i use it myself.. then it work!!! but when the computer use the ability.. the dummy wont stun..

Player 2 is the owner of the dummy... the dummy wont stun when Player 2 is Computer Player.. but when Player 2 is User Player the dummy will stun...

http://www.hiveworkshop.com/forums/...s-ignoring-orders-when-owned-computer-168328/

Try using a JASS script or change the dummy owner to Neutral Passive.

But i need Player 2 to own the dummy not the Neutral Passive..

But if i JASS my spell will be complicated as hell.. (FOR ME)
 
Last edited by a moderator:
Level 16
Joined
Dec 15, 2011
Messages
1,423
JASS it like this

Custom script: call IssueTargetOrder (udg_dummyvar, "thunderbolt", udg_targetvar)

I am linking a previous case for you to refer to. And also how I base my solution on. I am not suggesting anything.

Off-topic: Lol 500th post ^^
 
Status
Not open for further replies.
Top