AI Lib
AI funcions
Title |
AI funcions |
Author(s) |
LiXizhi |
Date |
2006/9/5 |
File |
script/ide/AI.lua |
Description
global AI related functions.
Sample Code
NPL.load("(gl)script/ide/AI.lua");
Member Functions
_AI.GetMemory
a table holding temporary memory of NPC characters. e.g. _AI.temp_memory["PlayeName"] = {sequence_number = 1,Task1 = "Done"};
_AI.temp_memory = {};
get temperary memory of a given character. By its name.
syntax
function _AI.GetMemory(name)
parameters
_AI.ClearAll
clear all memory.
syntax
function _AI.ClearAll()
Topic revision: r1 - 2008-02-29
- LiXizhi