mirror of
https://github.com/1dot13/gamedir.git
synced 2026-07-29 13:52:22 +02:00
- LUA Script Bugfix (by silversurfer)
o Added missing ProfileID parameter when calling the LUA method: CheckFact( fact, profileID ) git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1746 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
@@ -283,7 +283,7 @@ if ActionID == 23 then
|
||||
SetNoiseGridno(ubProfil,sGridNo)
|
||||
SetNoiseVolume(ubProfil,6)
|
||||
SetAlertStatus(ubProfil,StatusAlert.STATUS_GREEN)
|
||||
if ( not CheckAction(ubProfil) == ActionType.AI_ACTION_GET_CLOSER ) or CheckFact (Facts.FACT_MUSEUM_ALARM_WENT_OFF) == false then
|
||||
if ( not CheckAction(ubProfil) == ActionType.AI_ACTION_GET_CLOSER ) or CheckFact (Facts.FACT_MUSEUM_ALARM_WENT_OFF, 0) == false then
|
||||
CancelAIAction( ubProfil)
|
||||
SetNextAction(ubProfil , ActionType.AI_ACTION_GET_CLOSER )
|
||||
SetNextActionData(ubProfil , sGridNo)
|
||||
|
||||
Reference in New Issue
Block a user