18 lines
590 B
Plaintext
18 lines
590 B
Plaintext
void main()
|
|
{
|
|
object oPC = GetLastUsedBy();
|
|
if (GetLocalInt(OBJECT_SELF, "AllowTimer") >= 30)
|
|
{
|
|
location lTarget = GetLocation(oPC);
|
|
effect eEffect1 = EffectVisualEffect(VFX_FNF_HOWL_ODD);
|
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEffect1, lTarget);
|
|
CreateItemOnObject("CLQUEST6", oPC, 1);
|
|
object oTarget = GetWaypointByTag("BacktoQuily"); //or whatever the tag is for your destination waypoint
|
|
AssignCommand(oPC, JumpToObject(oTarget));
|
|
}
|
|
else
|
|
{
|
|
DelayCommand(0.5, FloatingTextStringOnCreature("You must give Uquilos more time!", oPC));
|
|
}
|
|
}
|