21 lines
552 B
Plaintext
21 lines
552 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;
|
||
|
|
||
|
//Define Variables
|
||
|
|
||
|
object oItem=GetItemActivated();
|
||
|
object oActivator=GetItemActivator();
|
||
|
object oPlayer = GetItemActivator();
|
||
|
object target = GetItemActivatedTarget();
|
||
|
string tag = GetTag(oItem);
|
||
|
|
||
|
//You main script function goes under this line.
|
||
|
{
|
||
|
AssignCommand (oPlayer, ActionStartConversation (oPlayer, "bombconv", TRUE));
|
||
|
|
||
|
}
|
||
|
}
|