A_GhostMe is an action that is used to spawn an afterimage (or "ghost") of the actor's current appearance at its current position; the afterimage will share the same sprite, color, scale and gravity as the actor, but will be partially translucent and will disappear after 8 tics. In SRB2, this action is used by the sparkles displayed at the Ideya Drone's location when it acts as the goal for the track in a NiGHTS level.
Code – A_GhostMe
// Function: A_GhostMe
// Description: Spawns a "ghost" mobj of this actor, ala spindash trails and the minus's digging "trails"
// var1 = unused
// var2 = unused
void A_GhostMe(mobj_t *actor)
if (LUA_CallAction("A_GhostMe", actor))