2018-03-07 08:14:42 +01:00
|
|
|
#include <ScriptObject.h>
|
2018-12-01 00:27:16 +11:00
|
|
|
#include <Territory/InstanceContent.h>
|
2018-03-07 08:14:42 +01:00
|
|
|
|
2018-11-29 16:55:48 +01:00
|
|
|
using namespace Sapphire;
|
2018-10-28 21:53:21 +01:00
|
|
|
|
2022-02-16 11:56:59 +01:00
|
|
|
class BattleontheBigBridge : public Sapphire::ScriptAPI::InstanceContentScript
|
2018-03-07 08:14:42 +01:00
|
|
|
{
|
|
|
|
public:
|
2022-02-16 11:56:59 +01:00
|
|
|
BattleontheBigBridge() : Sapphire::ScriptAPI::InstanceContentScript( 20021 )
|
2019-02-20 19:54:59 +11:00
|
|
|
{ }
|
2018-08-29 21:40:59 +02:00
|
|
|
|
2019-02-20 19:54:59 +11:00
|
|
|
void onInit( InstanceContent& instance ) override
|
2018-08-29 21:40:59 +02:00
|
|
|
{
|
2022-02-16 11:56:59 +01:00
|
|
|
instance.addEObj( "unknown_0", 2002735, 0, 4630946, 4, { 106.355499f, -5.000003f, -0.049812f }, 0.404395f, -1.570451f, 0);
|
|
|
|
instance.addEObj( "sgvf_w_lvd_b0118", 2002872, 4630952, 4630953, 4, { 109.916496f, -5.000003f, -0.035030f }, 1.000000f, 0.000000f, 0);
|
2019-02-20 19:58:57 +11:00
|
|
|
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
|
2022-02-16 11:56:59 +01:00
|
|
|
instance.addEObj( "unknown_1", 2002735, 0, 4635073, 4, { -75.653900f, 1.999997f, 0.149403f }, 0.500000f, -1.570451f, 0);
|
|
|
|
instance.addEObj( "sgvf_w_lvd_b0118_1", 2002872, 4635071, 4635075, 4, { -72.579193f, 1.999997f, 0.830825f }, 1.000000f, 0.000000f, 0);
|
2019-02-20 19:58:57 +11:00
|
|
|
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
|
2022-02-16 11:56:59 +01:00
|
|
|
instance.addEObj( "sgvf_w_lvd_b0118_2", 2003902, 4635078, 4635080, 4, { -37.106110f, 2.000000f, 1.552188f }, 1.000000f, 0.000000f, 0);
|
2019-02-20 19:58:57 +11:00
|
|
|
// States -> vf_bextwall_on (id: 3) vf_bextwall_of (id: 4)
|
2022-02-16 11:56:59 +01:00
|
|
|
instance.addEObj( "Entrance", 2000182, 4630929, 4630930, 5, { -141.564804f, 1.314597f, 3.459962f }, 1.000000f, 0.000000f, 0);
|
2019-02-20 19:58:57 +11:00
|
|
|
// States -> vf_lock_on (id: 11) vf_lock_of (id: 12)
|
2022-02-16 11:56:59 +01:00
|
|
|
instance.addEObj( "Exit", 2000139, 0, 4630942, 4, { 143.814301f, -5.000000f, -0.081344f }, 1.000000f, 0.000000f, 0);
|
|
|
|
instance.addEObj( "Shortcut", 2000700, 0, 4682785, 4, { -136.750107f, 1.329580f, 5.374416f }, 1.000000f, 0.000000f, 0);
|
2018-08-29 21:40:59 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2019-04-04 23:29:52 +02:00
|
|
|
void onUpdate( InstanceContent& instance, uint64_t tickCount ) override
|
2018-08-29 21:40:59 +02:00
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2019-02-20 19:54:59 +11:00
|
|
|
void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
|
2018-08-29 21:40:59 +02:00
|
|
|
uint16_t param2 ) override
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2018-03-07 08:14:42 +01:00
|
|
|
|
2019-02-20 17:38:03 +11:00
|
|
|
};
|
|
|
|
|
|
|
|
EXPOSE_SCRIPT( BattleontheBigBridge );
|