A_SignPlayer

From SRB2 Wiki
Jump to navigation Jump to search

A_SignPlayer is an action that changes the state of an Level End Sign to reflect that the player hit it (goes to SeeState). It will also change the skin color of the actor to become the "opposite" of the player's current skin color (the frame is also changed to adjust the end sign's shade of the color displayed – see List of skin colors > Skin color opposites for more details), and will display the End Sign Icon sprite (the SIGN sprite set) for the player's current skin as an overlay in front (which is colored to match the player's own skin color). If the player's skin does not have this sprite however, the actor will have the default "CLEAR!" icon displayed in front of it.

If desired, the state's variables can change the appearance of the sign: var1 determines the skin to display on the icon (skin numbers are to be used, e.g. setting it to 2 will show Knuckles), and var2 determines the color of the sign. var1 has some special cases if the number is negative: setting it to -1 will display the target's skin's end sign icon, -2 will select a random skin to display, and -3 will display Eggman's icon (the default when the sign spawns).

  Actions – Miscellaneous [view]
A_ExplodeA_FallA_ForceWinA_GoopSplatA_OverlayThinkA_SetSolidSteamA_SignPlayerA_SlingAppearA_SpikeRetractA_ToggleFlameJetA_UnsetSolidSteam