mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +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:
@@ -84,6 +84,9 @@ http://www.legion.zone.zg.pl/doku.php/modowanie/ja/art_ja_m_22_lua
|
||||
ubSender - uiIndex from SenderNameList.xml
|
||||
iCurrentIMPPosition - Default = -1, or the profile ID of the IMP
|
||||
iCurrentShipmentDestinationID - Default = -1, or the Bobby Ray shipment destination ID
|
||||
|
||||
- HireMerc (MercID)
|
||||
hires the merc with the specified MercID
|
||||
|
||||
|
||||
**************
|
||||
@@ -143,6 +146,9 @@ http://www.legion.zone.zg.pl/doku.php/modowanie/ja/art_ja_m_22_lua
|
||||
|
||||
-- Add alternative sector C1-3
|
||||
AddAltUGSectorNew(3,1,3)
|
||||
|
||||
-- Hire Ivan
|
||||
HireMerc(7)
|
||||
]]
|
||||
|
||||
-- Initialize the pseudo random number generator
|
||||
|
||||
Reference in New Issue
Block a user