20 lines
309 B
Plaintext
20 lines
309 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oPC;
|
||
|
|
||
|
if (!GetIsPC(GetItemActivatedTarget())
|
||
|
|| GetIsInCombat(GetItemActivator())
|
||
|
){
|
||
|
|
||
|
SendMessageToPC(GetItemActivator(), "Improper use of item!");
|
||
|
return;}
|
||
|
|
||
|
object oTarget;
|
||
|
oPC = GetItemActivator();
|
||
|
|
||
|
oTarget = oPC;
|
||
|
|
||
|
AssignCommand(oTarget, ActionStartConversation(oPC, "tr_gm_wand"));
|
||
|
|
||
|
}
|