Novedades
GamerCreador

Bienvenido a GamerCreador: una comunidad para crear videojuegos. Aprende, pregunta, comparte guías y muestra tus proyectos, además de conectar con otros creadores para colaborar. Regístrate gratis para publicar, responder y usar mensajes privados.

[Eluna] Morpher NPc

This script is a custom Eluna script that allows players to morph into different creatures and change their size. Here is a breakdown of the script:

The first function, "Morpher_Gossip", is the function that creates the initial gossip menu when players interact with the NPC. It creates a menu with one option to morph and change size.

The second function, "Morpher_Submenus", handles the submenus for morphing and changing size. It is triggered when the player selects the morph and size option in the initial menu. It creates a menu for the morph options and another menu for the size options.

The if statements within the "Morpher_Submenus" function handle the different options the player can choose from. Each option sets the player's model or scale based on the chosen intid.

The function then registers the unit gossip events for the NPC, linking the functions to the proper events.

The SQL queries are used to insert the NPC information into the appropriate tables in the database. The first query inserts the NPC's name and basic information into the creature_names table. The second query inserts the NPC's stats and other attributes into the creature_proto table.

Overall, this script allows players to interact with an NPC to morph into different creatures and change their size. Players can choose from a variety of model options and adjust their scale.
 

Crea una cuenta o inicia sesión para comentar

Debes ser usuario para poder dejar un comentario.

¡Regístrate!

Crea una cuenta en nuestra comunidad. ¡Es fácil!

Acceder

¿Ya tienes una cuenta? Accede aquí

Back
Top