Welcome aboard Visitor...

Daily Screenshot

Server Costs Target


84% of target met.

Latest Topics

- so i talked with Massi »
- See Commands »
- Now the fun begins »
- Qand answers have returned »
- Call to Arms »
- All Species 8572 Report in »
- hi there »
- Anyone still playing from a decade ago or longer? »
- Game still active. NICE! »
- help me »

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/23/24 +1.1 Days

Search

Anniversaries

No anniversaries today.

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


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