[][src]Function smash::app::lua_bind::HitModule::set_whole

pub unsafe extern "C" fn set_whole(
    arg1: *mut BattleObjectModuleAccessor,
    arg2: HitStatus,
    arg3: c_int
)

Sets the current "hit status"... I.E. HIT_STATUS_NORMAL, HIT_STATUS_XLU, or HIT_STATUS_INVINCIBLE

Arguments

Example

// set character to be entirely intangible
HitModule::set_whole(module_accessor, smash::app::HitStatus(*HIT_STATUS_XLU), 0);