generated from Jaysyn/ModuleTemplate
Initial commit
Initial commit
This commit is contained in:
33
_module/nss/rune_onactivate.nss
Normal file
33
_module/nss/rune_onactivate.nss
Normal file
@@ -0,0 +1,33 @@
|
||||
/* Purpose: Event handler script for module's OnItemActivated event.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Levatine
|
||||
//:://////////////////////////////////////////////
|
||||
void main()
|
||||
{
|
||||
|
||||
|
||||
object oItem = GetItemActivated();
|
||||
object oPC = GetItemActivator();
|
||||
object oActivator=GetItemActivator();
|
||||
|
||||
|
||||
|
||||
if(GetTag(oItem)=="guardianarune")
|
||||
{
|
||||
AssignCommand(oActivator, ActionStartConversation(oActivator, "guardiana_port", TRUE));
|
||||
return;
|
||||
}
|
||||
|
||||
if(GetTag(oItem)=="bustokerune")
|
||||
{
|
||||
AssignCommand(oActivator, ActionStartConversation(oActivator, "bustoke_port", TRUE));
|
||||
return;
|
||||
}
|
||||
|
||||
if(GetTag(oItem)=="bandorerune")
|
||||
{
|
||||
AssignCommand(oActivator, ActionStartConversation(oActivator, "bandore_port", TRUE));
|
||||
return;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user