Skip to content

sp_move_nohard

Prototypeint sp_move_nohard(int active_sprite, bool move_no_hard[-1])

sp_move_nohard() gets or sets the move_no_hard value for the active_sprite. If move_no_hard is 1, the sprite will move freely through hardness. If move_no_hard is 0, the sprite will stop when it encounters hardness.

An equivalent is the fourth parameter (ignore_hardness) for the move() and move_stop() commands.

Dink
< 1.08

The move_no_hard value only had an effect when the active_sprite was actively moving (through move() and move_stop() commands).

Dink
1.08
Freedink
all

The move_no_hard effect works in all situations.