1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-01 00:27:44 +00:00
sapphire/src/scripts/instances/trials/BattleontheBigBridge.cpp

42 lines
1.9 KiB
C++
Raw Normal View History

2018-03-07 08:14:42 +01:00
#include <ScriptObject.h>
#include <Territory/InstanceContent.h>
2018-03-07 08:14:42 +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 )
{ }
void onInit( InstanceContent& instance ) override
{
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);
// 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);
// 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);
// 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);
// 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);
}
void onUpdate( InstanceContent& instance, uint64_t tickCount ) override
{
}
void onEnterTerritory( InstanceContent& instance, Entity::Player& player, uint32_t eventId, uint16_t param1,
uint16_t param2 ) override
{
}
2018-03-07 08:14:42 +01:00
};
EXPOSE_SCRIPT( BattleontheBigBridge );