Scripting

Looking into learning how to make custom scripts. I’ve edited scripts here and there, but never created one from scratch. Any chance someone could point me in the right direction. Thanks.

Well,

http://collab.kpsn.org/display/tc/How-to_CustomScript

Also check the example scripts https://github.com/TrinityCore/TrinityCore/tree/master/src/server/scripts/Examples

Cheers.

-Mortos.

Ok, thanks. So if I wanted to make a quest that involved an escort, I’d use https://github.com/TrinityCore/TrinityCore/blob/master/src/server/scripts/Examples/example_escort.cpp and then just plug in the required info? Would all of the script remain in, or would I need to delete any of it?

The quest would simply be escort “NPC A” to “Area A” while “NPC B” randomly spawned and attacked the escort.