Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How To Use Game Events Tutorial #1045

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mrcrilly
Copy link

This is just a simple example of a game event entry that uses game_event_creature to despawn and eventually respawn three NPCs from Elwynn Forest. The idea is to show how a simple event can be easily added to the database.

Description

  • Just a simple example of how-to use game_event and game_event_creature
  • I was learning to do this for my own projects and I decided to write about it

Related Issue

  • N/A

Thank you for contributing to the AzerothCore wiki.

Remember that the wiki is currently available in English and Spanish.

This is just a simple example of a game event entry that uses `game_event_creature` to despawn and eventually respawn three NPCs from Elwynn Forest. The idea is to show how a simple event can be easily added to the database.
@mrcrilly mrcrilly changed the title Example Game Event Code and Explanation How To Use Game Events Tutorial Jan 11, 2025
@mrcrilly
Copy link
Author

Updated to provide a new file with a smarter name. I've updated the documentation index to include a tutorial section, making it easier to add future content (which I intend on doing.)

@@ -57,6 +57,10 @@ redirect_from: /documentation_index
* [Wypoint information](waypoints-information)
* [How to obtain free records](how-to-obtain-free-records)

## Tutorials

* [How To Use Game Events](how-to-use-game-events)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* [How To Use Game Events](how-to-use-game-events)
* [How to use game events](how-to-use-game-events)

@@ -0,0 +1,81 @@
# How To Use Game Events
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# How To Use Game Events
# How to use game events

@Kitzunu
Copy link
Member

Kitzunu commented Jan 12, 2025

I will not review the contents. Just gonna leave you with this too in case it is something you want to use https://www.azerothcore.org/wiki/wiki-alerts-and-callouts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants