15 lines
716 B
Plaintext
15 lines
716 B
Plaintext
void main()
|
|
{
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "powerlight1", GetLocation(GetWaypointByTag("enginelight9")), FALSE);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "powerlight2", GetLocation(GetWaypointByTag("enginelight10")), FALSE);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "powerlight3", GetLocation(GetWaypointByTag("enginelight11")), FALSE);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "powerlight4", GetLocation(GetWaypointByTag("enginelight12")), FALSE);
|
|
object oTarget= GetWaypointByTag("enginelight7");
|
|
location lTarget= GetLocation(GetWaypointByTag("enginelight7"));
|
|
|
|
|
|
SetLocalInt(GetModule(), "MithPowered", GetLocalInt(GetModule(), "MithPowered") +1);
|
|
object oSound=GetObjectByTag("MES3");
|
|
SoundObjectPlay(oSound);
|
|
}
|