A_MinusCheck

From SRB2 Wiki
Jump to: navigation, search
Test.png This article or section is outdated and has not been updated to reflect the release of SRB2 v2.2.

Please help the Wiki by correcting or removing any misinformation, as well as adding any new information to the page.

ToDoIcon.png To do
Rewrite description for 2.2.0

A_MinusCheck is an action which is used to reset the Minus to its digging animation (SeeState) when it hits the floor. The flags MF_SPECIAL and MF_SHOOTABLE are then removed to prevent the player from harming the actor until they are restored by A_MinusPopup, and the actor's reaction time is set to TICRATE (for A_MinusDigging this will delay the actor's movement for a second). If the actor has not reached the floor yet, this action checks if the Object is falling and if its current state has an ID number less than that of the MeleeState, and if so, the actor goes to its MeleeState.

Object property Use
SeeState Returns to this state when Object hits floor
MeleeState Falling animation (Object goes to this state if falling, and if current state ID number < MeleeState ID number)

  Actions – Enemy thinkers [view]
A_BuzzFlyA_CrawlaCommanderThinkA_DetonChaseA_EggShieldA_FaceStabChaseA_GuardChaseA_HoodThinkA_JetbThinkA_JetChaseA_JetgShootA_JetgThinkA_JetJawChompA_JetJawRoamA_MinusCheckA_MinusDiggingA_MinusPopupA_PointyThinkA_SharpChaseA_SharpSpinA_SkimChaseA_SnailerThinkA_VultureCheckA_VultureVtol