Difference between revisions of "Talk:Methods"

From Elite Wiki
Line 17: Line 17:
 
[[User:Arexack|A_H]] Wednesday 22feb 21:38PM
 
[[User:Arexack|A_H]] Wednesday 22feb 21:38PM
 
:
 
:
spawnShip: <shipdata.plist key>
+
spawnShip: <shipdata.plist key>
// adds a ship with the unique shipdata.plist key given
+
// adds a ship with the unique shipdata.plist key given
// the position and facing of the ship are determined by a spawn dictionary in the
+
// the position and facing of the ship are determined by a spawn dictionary in the
// ship's shipdata.plist entry with position and facing_position as strings describing
+
// ship's shipdata.plist entry with position and facing_position as strings describing
// coordinates '''according to one of the schemes above'''
+
// coordinates '''according to one of the schemes above'''
which one?
+
which one?
A_H
+
A_H

Revision as of 01:17, 25 February 2006

For the moment lets forget that scripts and AI can share methods - conflating them is confusing.

For the moment lets just note that they can share methods and not list extra methods here --Aegidian 16:28, 22 January 2006 (UTC)

Right, this page is now completely in-line with v1.62 --Aegidian 17:02, 22 January 2006 (UTC)


I got a **wanna** method: sellCargo.

Same as removeCargo, but with compensation for lost cargo equal to market value or to an averaged-cargovalue.

A_H friday 10 february 23:19PM

Another thing that might be usefull is a status string for key pressed.

for displaying mission information or OXP-described-equipment. (key_pressed_string equals 'f') : display fuel level in message, for example.

A_H Wednesday 22feb 21:38PM

spawnShip: <shipdata.plist key>
// adds a ship with the unique shipdata.plist key given
// the position and facing of the ship are determined by a spawn dictionary in the
// ship's shipdata.plist entry with position and facing_position as strings describing
// coordinates according to one of the schemes above
which one?
A_H