• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Mq2fade

shroomheadofmarbles

New member
Joined
Apr 5, 2005
RedCents
was trying to update riddlers source earlier got most of it see that thread but anyways was able to take this working out of it


#include "../MQ2Plugin.h"

PreSetup("MQ2Fade");
VOID Fade(PSPAWNINFO pChar, PCHAR szLine);





VOID fade(PSPAWNINFO pChar, PCHAR szLine) {

PCHARINFO pCharInfo = GetCharInfo();
PZONEINFO Zone = (PZONEINFO)pZoneInfo;
int nZoneID = 0;
nZoneID = GetZoneID(Zone->ShortName);

pCharInfo->ZoneBoundId = nZoneID;
pChar->pCharInfo->ZoneBoundY = 0;
pChar->pCharInfo->ZoneBoundX = 0;
pChar->pCharInfo->ZoneBoundZ = 0;
WriteChatColor("Fading Memories.",
COLOR_PURPLE);


pChar->Type = SPAWN_CORPSE;

}




PLUGIN_API VOID InitializePlugin(VOID)
{
AddCommand("/fade",fade);
}


PLUGIN_API VOID ShutdownPlugin(VOID)
{
DebugSpewAlways("Shutting down MQ2fade");
RemoveCommand("/fade");
}
 
Mq2fade

Users who are viewing this thread

Back
Top
Cart