• 🏆 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!

Msquerade

Status
Not open for further replies.
Level 3
Joined
Oct 6, 2004
Messages
29
Hi guys,
I was trying to make a spell called masquerade. But i am stuck at the moment.

The skill should work like this :
1.You use masquerade on an enemy unit or hero
2. Your hero disappears in a cloud of smoke( special effect) and now, he looks like the unit or hero you imed with the spell.
3. While in disguise your hero got changed fractions. Your own troops will attack you, but enemy troops wont attack you.
4. After a period of time (depending on the level of the skill) or in case you get damaged, you loose your masquerade and get stunned for 2 secs.
That means: If an enemy hero is smart enough to recognize that your in disguise he can use the attack symbol to unmask you.
5. You can`t use any of your other skills while in disguise.
6. Your attack range while in disguise is changed to close combat in case you got the look of an archer.
7. If you attack someon while masced you will loose your masquerade but deal him additional damage, like if you use windwalk.


8. While masced you shouldn`t auto.attack your units
9. I hope that`s possible, but changing the colour while masced into the colour the enemy unit had would be nice too.

That`s it ^^ ... Only thing i got so far is if you use the spell(i took sleep) your hero gets replaced by a soldier. ...
If anyone could help, i would be very glad
 
Level 13
Joined
Dec 29, 2004
Messages
597
Babuu said:
Hi guys,

3. While in disguise your hero got changed fractions. Your own troops will attack you, but enemy troops wont attack you.

6. Your attack range while in disguise is changed to close combat in case you got the look of an archer.

i think thats impossible, bcoz if you still alliance towards a player, that player's units wouldn't attack you using default AI, and your enemy still will recognize and attack you.

Maybe with some trigger you can make your allies attack you, but really annoying and could ruin your map system (depending on your map genre). I don't recommend that.

..and, there no trigger to change attack-range, but acquisition range can be changed by trigger.
 
Level 11
Joined
Jul 20, 2004
Messages
2,760
Its pretty easy.

Event - "An UNit is issued an order"
Conditions - Attacked Unit has YourBuff equal true
Actions - Order (Ordered Unit) to Stop

This should solve the problem. You can check the alliance of the units of course. And its quite strange cuz I don't get what you mean. Hmm...

~Daelin
 
Level 3
Joined
Oct 6, 2004
Messages
29
thx for the answers, i am still doing some other spells at the moment, and i am of course using triggers btw ;)
 
Status
Not open for further replies.
Top