Hi, i was wondering howto do overtime damage for one of my spell.
It's a fire spell so i want - On collision to do X damage plus every 2 seconds for 10 seconds to do Y damage.
If someone have an hint i would appreciate!
Develop games in your browser. Powerful, performant & highly capable.
Yep, on initial hit , you do X damage and set a variable to true and start a 10 second timer. Then you have a separate event where if this variable is true, do Y damage every 2. Then when the timer has finished, set the variable back to false.