Initial upload
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.
This commit is contained in:
13
_module/nss/frost_portal_01.nss
Normal file
13
_module/nss/frost_portal_01.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
void main()
|
||||
{
|
||||
object oPC=GetPCSpeaker();
|
||||
object oItemToTake;
|
||||
|
||||
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "frost_portalkey_01");
|
||||
if(GetIsObjectValid(oItemToTake) != 0)
|
||||
DestroyObject(oItemToTake);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectVisualEffect(VFX_IMP_UNSUMMON),oPC);
|
||||
|
||||
DelayCommand(0.7,AssignCommand(oPC,JumpToObject(GetWaypointByTag("frost_portal_exit_01"),FALSE)));
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user