Recent changes Random page
GAMING
Gaming
 
WoWWiki
Halopedia
FFXIclopedia
Age of Conan
Warhammer Online
Grand Theft Wiki
See more...

Activating a spawnset

From Djinni Wiki

Jump to: navigation, search

by Katarzyna Kuczyńska

Image:Cdprlogo.gif


In order to make your spawnset appear in the game, you have to add it to the module and enable the spawnset with a script or with a quest.


In order to add a file to a module, open the module and click “module properties”. A small window opens on the right. Click on a Spawnset list, find your spawnset file and double click on it. Press “ok” and save the module. Now for the enabling the spawnset, you have to make a script that is being activated at the beginning of the module or you have to make a quest that also starts with the module. The script should look like this and you can add it to module as On Enter script:


void main()

{

EnableSpawnPhase("spawnset_name");

}


If you want to activate your spawnset by quest, you have to add OnPhaseFinished Action “Enable spawnset” and put a spawnset name in a field “spn_resef”. When this quest phase is completed, the spawnset will be activated.


Previous tutorial: Basics of scripting
Next tutorial: How to create a monster template

Rate this article:
Share this article: