25 lines
642 B
Plaintext
25 lines
642 B
Plaintext
|
//:://////////////////////////////////////////////////
|
||
|
//:: fall_drake_spawn
|
||
|
/*
|
||
|
Creates a new drake
|
||
|
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////////
|
||
|
//:: Created By: r3plica
|
||
|
//:: Created On: 02/02/2005
|
||
|
//:://////////////////////////////////////////////////
|
||
|
void SpawnDrake(object oWay)
|
||
|
{
|
||
|
CreateObject(OBJECT_TYPE_CREATURE, "captureddrake", GetLocation(oWay), FALSE);
|
||
|
}
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oWay = GetWaypointByTag("WP_DRAKE_SPAWN");
|
||
|
|
||
|
effect eEff1 = EffectVisualEffect(VFX_FNF_SUMMON_CELESTIAL);
|
||
|
|
||
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eEff1, GetLocation(oWay));
|
||
|
DelayCommand(2.0f, SpawnDrake(oWay));
|
||
|
}
|