Welcome aboard Visitor...

Daily Screenshot

Server Costs Target


9% of target met.

Latest Topics

- Anyone still playing from a decade ago or longer? »
- Game still active. NICE! »
- 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 »
- DS on Ubuntu? »
- Medal Breakpoints »

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
04/20/24 +3.9 Days

Search

Anniversaries

1st - almand

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.004628 seconds.


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