Skip to content

Commit

Permalink
Add stub scripts for callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Mar 30, 2018
1 parent 8d7d719 commit 3d65f4a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions res/gamedata/scripts/ai_stalker.script
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-- if return game_object then it ignores engine. If return nil, then engine tries to find item to kill
-- called from engine!
function update_best_weapon(npc,cur_wpn)
return
end

-- called from engine
-- return false to use Engine technique, return true to ignore engine technique
function CSE_ALifeObject_spawn_supplies(se_obj,id,ini_string)
return false
end
5 changes: 5 additions & 0 deletions res/gamedata/scripts/level_input.script
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
function on_key_press(key,bind)
-- return true on valid action

return false
end

0 comments on commit 3d65f4a

Please sign in to comment.