Added DMFI
Added DMFI. Set Diamond Golem appearance size to large. Full compile. Updated release archive.
This commit is contained in:
23
_module/nss/dmfi_onclienter.nss
Normal file
23
_module/nss/dmfi_onclienter.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: DMFI - OnClientEnter event handler
|
||||
//:: dmfi_onclienter
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
Event handler for the module-level OnClientEnter event. Initializes DMFI system.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: 2008.08.02 tsunami282 - created.
|
||||
|
||||
#include "dmfi_init_inc"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
object oUser = GetEnteringObject();
|
||||
|
||||
// do any other module OnClientEnter work here
|
||||
ExecuteScript("x3_mod_def_enter", OBJECT_SELF);
|
||||
|
||||
// initialize DMFI
|
||||
dmfiInitialize(oUser);
|
||||
}
|
Reference in New Issue
Block a user