Add decompiled Lua AI scripts + full datasheet findings report
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
REGISTER_LOGIC_FUNC(LOGIC_ID_Common_DoObjAct10001, "common_DoObjAct10001_Logic", "common_DoObjAct10001_Interupt")
|
||||
function common_DoObjAct10001_Logic(ai)
|
||||
if ai:IsExistReqObjAct() then
|
||||
ai:AddTopGoal(GOAL_COMMON_ApproachTarget, 5, POINT_NEAR_OBJ_ACT_POINT, 0.1, TARGET_SELF, false, -1)
|
||||
ai:AddTopGoal(GOAL_COMMON_ObjActTest, 5, OBJ_ACT_TYPE_LEVER)
|
||||
else
|
||||
COMMON_EasySetup3(ai)
|
||||
end
|
||||
return
|
||||
end
|
||||
|
||||
function common_DoObjAct10001_Interupt(ai, goal)
|
||||
return
|
||||
end
|
||||
|
||||
return
|
||||
Reference in New Issue
Block a user