Welcome aboard Visitor...

Daily Screenshot

Server Costs Target


0% of target met.

Latest Topics

- I will no longer be hosting this server »
- Anyone still playing from a decade ago or longer? »
- Game still active. NICE! »
- help me »
- Password resett »
- Darkspace Idea/Opinion Submission Thread »
- Rank Bug maybe? »
- Next patch .... »
- Nobody will remember me...but. »
- 22 years...asking for help from one community to another »

Development Blog

- Roadmap »
- Hello strangers, it’s been a while... »
- State of DarkSpace Development »
- Potential planetary interdictor changes! »
- The Silent Cartographer »

Combat Kills

Combat kills in last 24 hours:
No kills today... yet.

Upcoming Events

- Weekly DarkSpace
11/02/24 +1.8 Days

Search

Anniversaries

23th - Starfleet.
8th - Cyber999

Social Media

Why not join us on Discord for a chat, or follow us on Twitter or Facebook for more information and fan updates?

Network

DarkSpace
DarkSpace - Beta
Palestar

[FAQ
Forum Index » » Basic Scripting Discussion » » I got bored
 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.

  Goto the website of Novacat
Page created in 0.004747 seconds.


Copyright © 2000 - 2024 Palestar Inc. All rights reserved worldwide.
Terms of use - DarkSpace is a Registered Trademark of PALESTAR