AI Lib

AI funcions

Title AI funcions
Author(s) LiXizhi
Date 2006/9/5
File script/ide/AI.lua

Description

global AI related functions.

TIP 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

name  

_AI.ClearAll

clear all memory.

syntax

function _AI.ClearAll()
Topic revision: r1 - 2008-02-29 - LiXizhi
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback