25 lines
822 B
Plaintext
25 lines
822 B
Plaintext
void main()
|
|
{
|
|
|
|
object oSavior = GetLastSpeaker();
|
|
CreateItemOnObject("ba_nolinuslet", oSavior, 1);
|
|
|
|
object oCrypt = GetObjectByTag("ba_cryptboss");
|
|
vector vPortal = Vector(20.00f, 35.00f, 0.00f);
|
|
location lPortal = Location(oCrypt, vPortal, 90.0);
|
|
ActionCastSpellAtLocation(SPELL_HAMMER_OF_THE_GODS, lPortal, METAMAGIC_QUICKEN, TRUE, PROJECTILE_PATH_TYPE_DEFAULT, TRUE);
|
|
|
|
object oPlate = GetObjectByTag("ba_coverplate");
|
|
DestroyObject(oPlate, 0.5f);
|
|
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "plc_portal", lPortal, FALSE);
|
|
|
|
object oGate = GetObjectByTag("ba_gatedwaci");
|
|
vector vLight = Vector(48.50f, 7.25f, 1.00f);
|
|
location lLight = Location(oGate, vLight, 0.0);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "plc_solwhite", lLight, FALSE);
|
|
|
|
DestroyObject(OBJECT_SELF, 1.0f);
|
|
|
|
}
|