Added DMFI
Added DMFI. Set Diamond Golem appearance size to large. Full compile. Updated release archive.
This commit is contained in:
17
_module/nss/trigger_warn_dms.nss
Normal file
17
_module/nss/trigger_warn_dms.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
// trigger_warn_dms
|
||||
|
||||
// grabs the name of the entering object (usually a PC) and the area name
|
||||
// and sends a message on the DM channel containing the information
|
||||
// To use, place in an Area OnEnter handler or paint the custom "Trigger_Warn"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oEntering=GetEnteringObject();
|
||||
string sEnteringName=GetName(oEntering);
|
||||
object oArea = GetArea(oEntering);
|
||||
string sAreaName = GetName(oArea);
|
||||
|
||||
string sTellMe = sEnteringName + " just entered " + sAreaName;
|
||||
SendMessageToAllDMs(sTellMe);
|
||||
|
||||
}
|
Reference in New Issue
Block a user