Author |
I got bored |
Novacat Grand Admiral
Joined: October 30, 2001 Posts: 2337 From: Starleague Cache
| Posted: 2005-06-27 23:25  
Its probably full of errors and incomplete... but I got bored and I havent wrote LUA in a long time.
spawnShip( "MonstersGaifen OpaqueGaifen Monster.PRT", "Mycopia", "Legion Cruiser", 5 );
Function onShipSelected ("Legion Cruiser") //Unsure of what this does exactly... I beleive it means when ship is targeted...
createMission( 2, 1, "Destroy Legion Cruiser", "Go to Mycopia and Destroy the Legion Cruiser", 2000, 100, 200000, "Legion Cruiser" );
assignMission("Destroy Legion Cruiser", "Player");
end
Function onDeath("Legion cruiser")
setMissionState( "Destroy Legion Cruiser", 3 )
closeMission( "Destroy Legion Cruiser" )
end
[ This Message was edited by: RedXIII on 2005-06-27 23:53 ]
_________________ Ghostly Specter of an Ancient Past.
|