i don't know if i'm missing something here, but i installed the nwnx_functions plugin, but don't see how one would implement this with the following functions available:
int GetArmorAC(object oObject);
void SetArmorAC(object oObject, int iAC);
void SetGoldPieceValue(object oObject, int iValue);
void SetTag(object oObject, string sValue);
void SetRacialType(object oObject, int nRacialType);
int GetDescriptionLength(object oObject);
string GetDescription(object oObject);
string SetDescription(object oObject, string sNewDescription);
string GetConversation(object oObject);
int GetUndroppableFlag(object oItem);
void SetUndroppableFlag(object oItem, int bUndroppable);
int GetItemWeight(object oObject);
void SetItemWeight(object oObject, int nWeight);
string GetEventHandler(object oObject, int nEventId);
void SetEventHandler(object oObject, int nEventId, string sScript);
int GetFactionID(object oObject);
void SetFactionID(object oObject, int nFaction);
float GetGroundHeight(location lLocation);
int GetIsWalkable(location lLocation);
object GetFirstArea();
object GetNextArea();
void Set2DAString(string s2DA, string sColumn, int nRow, string sValue);
void SetMovementRate(object oCreature, int nMovementRate);
void ActionUseItemOnObject(object oItem, object oTarget, int nPropertyNum = 0);
void ActionUseItemAtLocation(object oItem, location lLocation, int nPropertyNum = 0);
int GetPCPort(object oPlayer);
void BootPCWithMessage(object oPC, int nStrRef);
int JumpToLimbo(object oObject);
int GetIsVariableValid(struct scriptvar svVariable);
struct scriptvar GetFirstLocalVariable(object oObject);
struct scriptvar GetNextLocalVariable(object oObject);
int GetItemCount(object oTarget);
object GetItemByPosition(object oTarget, int nPosition);
object IntToObject(int nObjectID);
this was the "complete function list" from the readme of 1.9.0. is there more complete documentation somewhere else?
Modifié par acomputerdood, 11 septembre 2012 - 09:52 .