mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
- Added new example and usage of a new LUA Method called "HireMerc()" where we can hire a specific merc by the LUA method call
git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1427 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
@@ -85,6 +85,9 @@ http://www.legion.zone.zg.pl/doku.php/modowanie/ja/art_ja_m_22_lua
|
|||||||
iCurrentIMPPosition - Default = -1, or the profile ID of the IMP
|
iCurrentIMPPosition - Default = -1, or the profile ID of the IMP
|
||||||
iCurrentShipmentDestinationID - Default = -1, or the Bobby Ray shipment destination ID
|
iCurrentShipmentDestinationID - Default = -1, or the Bobby Ray shipment destination ID
|
||||||
|
|
||||||
|
- HireMerc (MercID)
|
||||||
|
hires the merc with the specified MercID
|
||||||
|
|
||||||
|
|
||||||
**************
|
**************
|
||||||
** Examples **
|
** Examples **
|
||||||
@@ -143,6 +146,9 @@ http://www.legion.zone.zg.pl/doku.php/modowanie/ja/art_ja_m_22_lua
|
|||||||
|
|
||||||
-- Add alternative sector C1-3
|
-- Add alternative sector C1-3
|
||||||
AddAltUGSectorNew(3,1,3)
|
AddAltUGSectorNew(3,1,3)
|
||||||
|
|
||||||
|
-- Hire Ivan
|
||||||
|
HireMerc(7)
|
||||||
]]
|
]]
|
||||||
|
|
||||||
-- max number of lines can be shown in a message
|
-- max number of lines can be shown in a message
|
||||||
|
|||||||
@@ -85,6 +85,9 @@ http://www.legion.zone.zg.pl/doku.php/modowanie/ja/art_ja_m_22_lua
|
|||||||
iCurrentIMPPosition - Default = -1, or the profile ID of the IMP
|
iCurrentIMPPosition - Default = -1, or the profile ID of the IMP
|
||||||
iCurrentShipmentDestinationID - Default = -1, or the Bobby Ray shipment destination ID
|
iCurrentShipmentDestinationID - Default = -1, or the Bobby Ray shipment destination ID
|
||||||
|
|
||||||
|
- HireMerc (MercID)
|
||||||
|
hires the merc with the specified MercID
|
||||||
|
|
||||||
|
|
||||||
**************
|
**************
|
||||||
** Examples **
|
** Examples **
|
||||||
@@ -143,6 +146,9 @@ http://www.legion.zone.zg.pl/doku.php/modowanie/ja/art_ja_m_22_lua
|
|||||||
|
|
||||||
-- Add alternative sector C1-3
|
-- Add alternative sector C1-3
|
||||||
AddAltUGSectorNew(3,1,3)
|
AddAltUGSectorNew(3,1,3)
|
||||||
|
|
||||||
|
-- Hire Ivan
|
||||||
|
HireMerc(7)
|
||||||
]]
|
]]
|
||||||
|
|
||||||
-- Initialize the pseudo random number generator
|
-- Initialize the pseudo random number generator
|
||||||
|
|||||||
@@ -85,6 +85,9 @@ http://www.legion.zone.zg.pl/doku.php/modowanie/ja/art_ja_m_22_lua
|
|||||||
iCurrentIMPPosition - Default = -1, or the profile ID of the IMP
|
iCurrentIMPPosition - Default = -1, or the profile ID of the IMP
|
||||||
iCurrentShipmentDestinationID - Default = -1, or the Bobby Ray shipment destination ID
|
iCurrentShipmentDestinationID - Default = -1, or the Bobby Ray shipment destination ID
|
||||||
|
|
||||||
|
- HireMerc (MercID)
|
||||||
|
hires the merc with the specified MercID
|
||||||
|
|
||||||
|
|
||||||
**************
|
**************
|
||||||
** Examples **
|
** Examples **
|
||||||
@@ -143,6 +146,9 @@ http://www.legion.zone.zg.pl/doku.php/modowanie/ja/art_ja_m_22_lua
|
|||||||
|
|
||||||
-- Add alternative sector C1-3
|
-- Add alternative sector C1-3
|
||||||
AddAltUGSectorNew(3,1,3)
|
AddAltUGSectorNew(3,1,3)
|
||||||
|
|
||||||
|
-- Hire Ivan
|
||||||
|
HireMerc(7)
|
||||||
]]
|
]]
|
||||||
|
|
||||||
-- max number of lines can be shown in a message
|
-- max number of lines can be shown in a message
|
||||||
|
|||||||
Reference in New Issue
Block a user