May 26, 20187 yr As title states how would I do this. An approach I thought of was to override WalkingEvent's event() and place the appropriate lines to cast a spell before (or after) calling super.execute(). However this casts the spell before or after, not during. I'm pretty sure that I would need either make my own subclass of WalkingEvent or Event to satisfy my requirements, can anyone please confirm this? Edited May 26, 20187 yr by PayPalMeRSGP
May 26, 20187 yr A WalkingEvent is continuously running while it's being executed, no other code in your script will be running while it's active. So in this case when you want to cast a spell you need to use setBreakCondition in the WalkingEvent API.
May 26, 20187 yr 2 hours ago, PayPalMeRSGP said: As title states how would I do this. An approach I thought of was to override WalkingEvent's event() and place the appropriate lines to cast a spell before (or after) calling super.execute(). However this casts the spell before or after, not during. I'm pretty sure that I would need either make my own subclass of WalkingEvent or Event to satisfy my requirements, can anyone please confirm this? why?
Create an account or sign in to comment