Heya, users of BigTurtlesEmu & other emulators!
I am going to show you very basics of area trigger scripting of BigTurtles Emulator.
Please note that we don't know every corner of the core yet and that this thread will be updated alot
So, let's start
1. Area trigger Spell-Casting.
First you'll need a spell that you want cast on the player!
For this example, we'll use....Spell 3581
Public Sub HandleAreaTrigger_4472(ByVal GUID as ULong)
If CHARACTERs(GUID).HaveAura(3581) = False Then CHARACTERs(GUID).CastOnSelf(3581)
End Sub
Please note that we're not sure if you can use your own area triggers!
2. Summon triggers.
First you'll need an npc ID, which you'll need to define in the DB.
We'll use ID 1337
TO be continued when we discover more functions.