16 lines
526 B
Plaintext
16 lines
526 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oPC = GetLastUsedBy();
|
||
|
location lTarget = GetLocation(oPC);
|
||
|
object oTarget = GetWaypointByTag("OrbRoom");
|
||
|
|
||
|
object oItemToTake1;
|
||
|
oItemToTake1 = GetItemPossessedBy(oPC, "OrbLetter");
|
||
|
DestroyObject(oItemToTake1);
|
||
|
CreateItemOnObject("OrbLetter", oPC, 1);
|
||
|
effect eEffect1 = EffectVisualEffect(VFX_FNF_HOWL_ODD);
|
||
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect1, lTarget);
|
||
|
DelayCommand(1.0, AssignCommand(oPC, JumpToObject(oTarget)));
|
||
|
|
||
|
}
|