Kyle8497 Posted June 5, 2014 Share Posted June 5, 2014 Any dragon has the ability to shoot a fireball at the player, but what I want is that same exact thing, but there are about 5 fireballs that are shot at the player in succession. How would I achieve this? Link to comment Share on other sites More sharing options...
fantasy19 Posted June 7, 2014 Share Posted June 7, 2014 you can trying changing the vanilla spell or make your own spell that shoots a fireball to shooting 5 by a script loop. OR you can choose to script it to cast the same spell 4 times more. Link to comment Share on other sites More sharing options...
Kyle8497 Posted June 11, 2014 Author Share Posted June 11, 2014 Do you happen to know a script to loop 5x? Link to comment Share on other sites More sharing options...
Mattiewagg Posted June 18, 2014 Share Posted June 18, 2014 Put this into the script: Int Property FiresToShoot Auto Event Whatever; Replace Whatever with the event you want to use. FiresToShoot = 5 While FiresToShoot > 0 DoSpell; replace this with the code to 'cast' the spell FiresToShoot - 1 EndWhile EndEvent This should work. Replace the 'whatever' and 'dospell' with whatever is needed. Link to comment Share on other sites More sharing options...
Recommended Posts