DB gossip

Hello I’d like to ask you if it is possible to link a gossip menu option to an action. I was trying to create gossip menu without creating a core script. I managed to add text and gossip option to my NPC but I’d like to teleport players after choosing the option. I know how to sript this in core, but I have no idea if it is possible to make this in DB. Thanks for help

— Canned message start —

This thread is not related to the official Trinity codebase and was moved to the Custom Code section.

Please read the stickies next time.

— Canned message end —

You can do it with SAI (smart_scripts). There’s some documentation on the wiki and a couple guides on the forums.

smart_scripts

event: SMART_EVENT_GOSSIP_SELECT (62)

action: SMART_ACTION_TELEPORT (62)

action_param1 is the mapid, use target_x, target_y, target_z, and target_o for the other GPS data.

Thank you, problem solved /emoticons/default_smile.png