twinblade-infinity/scripts/action_set_friction/action_set_friction.gml

13 lines
245 B
Plaintext
Raw Normal View History

/// @description (Old DnD) - set friction
/// @param val value to set friction
function action_set_friction(argument0) {
var val = argument0;
if (global.__argument_relative) {
val += friction;
} // end if
friction = val;
}