Initial Upload
Initial Upload
This commit is contained in:
25
_module/nss/ka_weapon_use.nss
Normal file
25
_module/nss/ka_weapon_use.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: ka_weapon_use.nss
|
||||
//:: Copyright (c) 2004 Karl Adamaitis
|
||||
//:://////////////////////////////////////////////
|
||||
/*
|
||||
use the placeable weapon object - start the
|
||||
associated conversation file for commanding.
|
||||
*/
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Karl Adamaitis
|
||||
//:: Created On: Aug 30, 2002
|
||||
//:://////////////////////////////////////////////
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
object oPC = GetLastUsedBy();
|
||||
|
||||
if (!IsInConversation(OBJECT_SELF) &&
|
||||
(GetIsPC(oPC) || GetIsDM(oPC) || GetIsDMPossessed(oPC))
|
||||
) {
|
||||
|
||||
ActionStartConversation(oPC, "", TRUE);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user