Added ACP v4.1

Added ACP v4.1. Full compile.  Updated module name.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-09-08 18:23:43 -04:00
parent d8c9dd6e90
commit 4dba880acb
2690 changed files with 1034142 additions and 27131 deletions

View File

@@ -0,0 +1,26 @@
void main()
{
object oPC = GetPCSpeaker();
object oToken = oPC;
string sName = GetName(oToken);
object oArea = GetArea(oPC);
location lSaved = GetLocation(oPC);
object oWay = GetNearestObjectByTag("no_recall", oPC);
int nMulti = GetLocalInt(GetModule(), "multi");
//Don't store information if the location is invalid!
if(oArea!=OBJECT_INVALID && oWay == OBJECT_INVALID)
{
SetLocalLocation(oToken, "RECALL_LOC", lSaved);
if(nMulti) //If Multiplayer, Save Their Toon!
{
ExportSingleCharacter(oPC);
}
}
effect eVis;
eVis = EffectVisualEffect(VFX_IMP_GOOD_HELP);
DelayCommand(0.4, ApplyEffectToObject(DURATION_TYPE_INSTANT, eVis, oPC, 0.0f));
DelayCommand(0.5, SendMessageToPC(oPC, "Recall Location Stored!"));
}