A_SpikeRetract

From SRB2 Wiki
Jump to navigation Jump to search

A_SpikeRetract is an action that is used to toggle on or off the solidity of spikes, depending on the value of Var1: if Var1 is 0, MF_SOLID is removed from the actor's flags and MF_NOCLIPTHING is added to them; when Var1 is any other value, MF_NOCLIPTHING is removed from the actor's flags and MF_SOLID is added to them. Note that in the latter case, P_CheckPosition is also called by this action to ensure other Objects can collide with the actor afterwards during the same tic.

If the actor's flags have MF_NOBLOCKMAP, this action will do nothing.

  Actions – Miscellaneous [view]
A_ExplodeA_FallA_ForceWinA_GoopSplatA_OverlayThinkA_SetSolidSteamA_SignPlayerA_SlingAppearA_SpikeRetractA_ToggleFlameJetA_UnsetSolidSteam