From 46605e554ecdb9424e4b7529fefb65420747d2a0 Mon Sep 17 00:00:00 2001 From: zuu Date: Fri, 21 Sep 2012 20:49:43 +0000 Subject: (svn r24542) -Feature: Allow AI/GS script developers to break the execution of their scripts using ScriptController::Break --- src/script/api/ai/ai_controller.hpp.sq | 1 + 1 file changed, 1 insertion(+) (limited to 'src/script/api/ai/ai_controller.hpp.sq') diff --git a/src/script/api/ai/ai_controller.hpp.sq b/src/script/api/ai/ai_controller.hpp.sq index 57f8e7b60..2aefdd68e 100644 --- a/src/script/api/ai/ai_controller.hpp.sq +++ b/src/script/api/ai/ai_controller.hpp.sq @@ -20,6 +20,7 @@ void SQAIController_Register(Squirrel *engine) SQAIController.DefSQStaticMethod(engine, &ScriptController::GetOpsTillSuspend, "GetOpsTillSuspend", 1, "."); SQAIController.DefSQStaticMethod(engine, &ScriptController::SetCommandDelay, "SetCommandDelay", 2, ".i"); SQAIController.DefSQStaticMethod(engine, &ScriptController::Sleep, "Sleep", 2, ".i"); + SQAIController.DefSQStaticMethod(engine, &ScriptController::Break, "Break", 2, ".s"); SQAIController.DefSQStaticMethod(engine, &ScriptController::GetSetting, "GetSetting", 2, ".s"); SQAIController.DefSQStaticMethod(engine, &ScriptController::GetVersion, "GetVersion", 1, "."); SQAIController.DefSQStaticMethod(engine, &ScriptController::Print, "Print", 3, ".bs"); -- cgit v1.2.3-54-g00ecf