Touching items while "special running"?

Greetings, developers! Long time no see, huh?

My current project uses a lot of "touch" subtyped items, specially healing and score ones.
One of my characters has a "special run" move that is as controllable as his basic run animation, but is faster and unable to attack, but I also noticed he's also unable to interact with those touch items while doing it, and I'd like to change that. Is there any entityproperty or aiflag that must be changed to allow this interaction?
 
Moved to Ask and Answer.

Short answer: No. Touch item detection operates with native movement.

There's always workarounds, but we'll need to know more about the mechanics of your game. Most likely you'll want to give the item an attack box and script the item's action on "hit".
 
In other words, I'll need to:
- make items to have a "candamage player"
- add a attackbox
- use a ondoattackscript to make said "attack" to be the item's effect.

Is that it?
 
Back
Top Bottom