-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
title: OnNPCModeExit | ||
description: Este callback es llamado cuando un script de un NPC finaliza (o deja de estar cargado). | ||
tags: ["npc"] | ||
--- | ||
|
||
## Descripción | ||
|
||
Este callback es llamado cuando un script de un NPC finaliza (o deja de estar cargado). | ||
|
||
|
||
## Ejemplos | ||
|
||
```c | ||
public OnNPCModeExit() | ||
{ | ||
print("NPC script: finalizó"); | ||
return 1; | ||
} | ||
``` | ||
|
||
|
||
## Callbacks relacionados | ||
|
||
Los siguientes callbacks pueden ser útiles, ya que están relacionados de alguna forma u otra con OnNPCModeExit. | ||
|
||
- [OnNPCModeInit](OnNPCModeInit): Este callback es llamado cuando un script de un NPC es cargado (o inicia). |