17 lines
321 B
Plaintext
17 lines
321 B
Plaintext
#include "x2_inc_switches"
|
|
void main()
|
|
{
|
|
// Check if we have the correct event firing the script
|
|
if (GetUserDefinedItemEventNumber() != X2_ITEM_EVENT_ACTIVATE) return;
|
|
|
|
object oPC;
|
|
|
|
oPC = GetItemActivator();
|
|
|
|
object oTarget;
|
|
oTarget = oPC;
|
|
|
|
AssignCommand(oTarget, ActionStartConversation(oPC, "legdartconv"));
|
|
|
|
}
|