Similar to the module events, you can register “Global” events with variables on the area containing the MAIN_DOOR.
Variable Name | Called From | Example |
---|---|---|
P_MODEVENT_ACQITEM | pf_ev_acqitem | p_25_acqitem |
P_MODEVENT_UNACQITEM | pf_ev_unacqitem | p_25_unacqitem |
P_MODEVENT_ACTIVATEITEM | pf_ev_activitem | p_25_activatitem |
P_MODEVENT_CHAT | pf_ev_chat | p_25_chat |
P_MODEVENT_PCDEATH | pf_ev_pcdeath | p_25_pcdeath |
P_MODEVENT_PCDYING | pf_ev_pcdying | p_25_pcdying |
P_MODEVENT_PCENTER | pf_ev_enterhouse | p_25_pcenter |
P_MODEVENT_PCLEAVE | pf_ev_leavehouse | p_25_pcenter |
P_MODEVENT_RESPAWN | pf_ev_pcrespawn | p_25_respawn |
P_MODEVENT_REST | pf_ev_rest | p_25_rest |
P_MODEVENT_EQUIP | pf_ev_equip | p_25_equip |
P_MODEVENT_UNEQUIP | pf_ev_unequip | p_25_unequip |