PWE_PRC8/_module/nss/cc_lvup.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

14 lines
476 B
Plaintext

void main()
{
object oPC = GetLastSpeaker();
ActionMoveToObject(GetNearestObjectByTag("POST_" + GetTag(OBJECT_SELF)));
ActionJumpToObject(GetNearestObjectByTag("POST_" + GetTag(OBJECT_SELF)));
PlayVoiceChat(VOICE_CHAT_HELLO, OBJECT_SELF);
if (GetIsPC(oPC) == TRUE) {
// SetLocalInt(oPC, "cc_level", 0);
SetLocalObject(oPC, "target", oPC);
SetLocalString(oPC, "cc_event", "init_lvup");
ExecuteScript("cc_event", oPC);
}
}