#include <spawn.h>
Public Methods | |
| cSpawnDinamic (P_ITEM pi) | |
| ~cSpawnDinamic () | |
| void | doSpawn () |
| spawn a npc/item from a dynamic spawner | |
| bool | needSpawn () |
| void | remove (SERIAL serial) |
| void | addSpawned (P_OBJECT obj) |
| void | clear () |
| delete all spawned items or npcs in the world | |
| void | doSpawn (SPAWNFLAG_ENUM spawnWhat, UI32 amount) |
| spawn a npc/item from a dynamic spawner | |
Public Attributes | |
| SERIAL | item |
| the spawner | |
| SERIAL_SET | items_spawned |
| spawned items | |
| SERIAL_SET | npcs_spawned |
| spawned npcs | |
| UI32 | current |
| TIMERVAL | nextspawn |
| next spawn | |
|
|
|
|
|
|
|
|
|
|
|
delete all spawned items or npcs in the world
|
|
||||||||||||
|
spawn a npc/item from a dynamic spawner
|
|
|
spawn a npc/item from a dynamic spawner
|
|
|
|
|
|
|
|
|
|
|
|
the spawner
|
|
|
spawned items
|
|
|
next spawn
|
|
|
spawned npcs
|