Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
13 lines
573 B
Plaintext
13 lines
573 B
Plaintext
void main()
|
|
{
|
|
object oPC = GetEnteringObject();
|
|
if(GetIsPC(oPC) == TRUE && GetLocalInt(GetObjectByTag("px_halflingbone"),"Summoned") == 0)
|
|
{
|
|
CreateObject(OBJECT_TYPE_CREATURE,"px_apparition",GetLocation(oPC));
|
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_IMP_UNSUMMON),GetLocation(oPC),1.0);
|
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_DUR_PROTECTION_GOOD_MAJOR),GetLocation(oPC),1.0);
|
|
AssignCommand(GetObjectByTag("px_apparition"),ActionStartConversation(oPC));
|
|
SetLocalInt(GetObjectByTag("px_halflingbone"),"Summoned",1);
|
|
}
|
|
}
|