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

T - r -i- g -g- e- r -s

Status
Not open for further replies.
Level 9
Joined
Dec 15, 2009
Messages
523
hey guyz
i need help with a trigger
iv tried but still fail
how to make a floating text umm...

e.g when i cast shadowstrike i want a 'slowed' text above the targeted unit

the next one is
how to make a trigger umm
e.g this unit hav critical strike ablility.when the unit criticals
i want an effect on the enemy unit
e.g expode or bleed..
is that posible?:ogre_love:
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
First problem is easy.
When unit starts the effect of the spell, create floating text on the target unit.
First create floating text object. Then set its string to your "Slowed". Then set its size (in JASS this is in screens (1.0 = a character is the size of the whole screen), GUI uses some font like conversion to screens). Then make the text non permant add a velocity and make it expire in the time you want it to start to fade. Finally display the floating text.

Second problem is hard cause critical strike does not cast any spell. You will need an attack damage detection system for it.
 
Level 9
Joined
Dec 15, 2009
Messages
523
wait im gonna try it...gv me 2 minutes :D
_______
184257-albums4036-picture38143.jpg
 
Level 9
Joined
Dec 15, 2009
Messages
523
WOAAAAHHHHHH thanks
Edit btw can u please tell me how to apply it?im realy fucked when it comes to complicated trigger like this
i noe how to import stuffs but this trigger seems like hav a little jass in it?
if ur free or anyone here tell me step by step how to apply it...im trying too now but probaly gonna error..
so if anyone free tell me how to do it step by step and simple pls thanks
+ rep btw who posted here
btw u put ''LULZ'' on ur map and i dont understand coz im asian i dont speak russian :D
pls translate lolwtf
btw i hav 0 knowledge about jass vjass blowjass bjass or anything im learning GUI xD
im noob sry
EDIT 3: btw garfield i love the critical strike effect epic cooool!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
thanks ton
pls tell me how to apply it in the right way
 
Level 20
Joined
Jul 6, 2009
Messages
1,885
To import in your map,you need to copy custom spells and units from object editor then copy the triggers. When you want to configure:
-For critical strike chance,change this:
  • (Random integer number between 1 and 100) Less than or equal to 50
,the 50 value means 50%,change it to your needs.
Currently,critical strike will deal bonus damage based on this: level 2 - 2x damage,level 3 - 3x damage etc. It might be hard for you to change that,but if you want it different for your map,tell me.
For shadow strike,to change damage,duration or other values,change them at Dummy Shadow Strike ability in object editor.
Also if you want more levels for spells,just set more levels in object editor. When setting more levels for shadow strike,be sure you set same levels for Shadow Strike and Dummy Shadow Strike.

Also 'lulz' isn't russian,it's just...changed 'lol' :D

Oh,and i've updated a map a bit:
 

Attachments

  • Lulz.w3x
    19.8 KB · Views: 77
Status
Not open for further replies.
Top