User Tools

Site Tools


building:scripts:x_sfscript

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
building:scripts:x_sfscript [2024/03/24 11:24]
EternalSenenity created
building:scripts:x_sfscript [2024/03/25 13:14] (current)
EternalSenenity Probably best not to encorage people to play with this stuff.
Line 1: Line 1:
 ====== Sinfar Custom NWNScript Functions ​ ====== ====== Sinfar Custom NWNScript Functions ​ ======
-  * Unordered List Item + 
-string GetEntireItemAppearance(object oItem); +  ​* ​string GetEntireItemAppearance(object oItem); 
-void RestoreItemAppearance(object oItem, string sAppearance);​ +  ​* ​void RestoreItemAppearance(object oItem, string sAppearance);​ 
-object GetActionTarget(object oCreature);​ +  ​* ​object GetActionTarget(object oCreature);​ 
-void Spacer_4();​ +  ​* ​void Spacer_4();​ 
-int IsPointInAreaOfEffect(object oAoE, vector vPoint); +  ​* ​int IsPointInAreaOfEffect(object oAoE, vector vPoint); 
-int TestLineWalkable(object oArea, vector vFrom, vector vTo); +  ​* ​int TestLineWalkable(object oArea, vector vFrom, vector vTo); 
-int GetResExists(string sResFileName);​ +  ​* ​int GetResExists(string sResFileName);​ 
-void AddExtraFeat(object oCreature, int nFeat); +  ​* ​void AddExtraFeat(object oCreature, int nFeat); 
-void RemoveExtraFeat(object oCreature, int nFeat); +  ​* ​void RemoveExtraFeat(object oCreature, int nFeat); 
-void ApplyExtraAbilityBonus(object oCreature, int nAbility, int nBonus); +  ​* ​void ApplyExtraAbilityBonus(object oCreature, int nAbility, int nBonus); 
-void RestoreExtraStats(object oCreature);​ +  ​* ​void RestoreExtraStats(object oCreature);​ 
-void ApplyExtraSkillBonus(object oCreature, int nSkill, int nBonus); +  ​* ​void ApplyExtraSkillBonus(object oCreature, int nSkill, int nBonus); 
-void RemoveFeatFromLevelStats(object oCreature, int nFeat, int nLevel=-1);​ +  ​* ​void RemoveFeatFromLevelStats(object oCreature, int nFeat, int nLevel=-1);​ 
-int EnforceLegalCharacter(string sCharacterFile);​ +  ​* ​int EnforceLegalCharacter(string sCharacterFile);​ 
-int GetArmorExtraData(object oArmor, int nArmorPart, int nExtraInfo, int nInfoParam, string sVarName="​XDATA"​);​ +  ​* ​int GetArmorExtraData(object oArmor, int nArmorPart, int nExtraInfo, int nInfoParam, string sVarName="​XDATA"​);​ 
-void SetArmorExtraData(object oArmor, int nArmorPart, int nExtraInfo, int nInfoParam, int nValue, string sVarName="​XDATA"​);​ +  ​* ​void SetArmorExtraData(object oArmor, int nArmorPart, int nExtraInfo, int nInfoParam, int nValue, string ​sVarName="​XDATA"​);​ 
-float GetArmorExtraDataFloat(object oArmor, int nArmorPart, int nExtraInfo, string sVarName="​XDATA"​);​ +  ​* ​float GetArmorExtraDataFloat(object oArmor, int nArmorPart, int nExtraInfo, string sVarName="​XDATA"​);​ 
-void SetArmorExtraDataFloat(object oArmor, int nArmorPart, int nExtraInfo, float fValue, string sVarName="​XDATA"​);​ +  ​* ​void SetArmorExtraDataFloat(object oArmor, int nArmorPart, int nExtraInfo, float fValue, string ​sVarName="​XDATA"​);​ 
-int GetPlayerCount();​ +  ​* ​int GetPlayerCount();​ 
-string GetPlayerNameByListIndex(int nListIndex);​ +  ​* ​string GetPlayerNameByListIndex(int nListIndex);​ 
-object GetPlayerCharacterByListIndex(int nListIndex);​ +  ​* ​object GetPlayerCharacterByListIndex(int nListIndex);​ 
-void BootPlayerByListIndex(int nListIndex, int nStrRef); +  ​* ​void BootPlayerByListIndex(int nListIndex, int nStrRef); 
-int GetBannedFromServers(object oPlayer); +  ​* ​int GetBannedFromServers(object oPlayer); 
-int GetSystemTime();​ +  ​* ​int GetSystemTime();​ 
-void ShutdownServer(int nForce=0);​ +  ​* ​void SetTMILimit(int nLimit); 
-void SetTMILimit(int nLimit); +  ​* ​int GetProcessMemoryUsage();​ 
-int FileDelete(string sFile); +  ​* ​int GetSinglePCPartExtraData(string sXDATA, int nExtraInfo, int nInfoParam);​ 
-int FileRename(string sFrom, string sTo); +  ​* ​string SetSinglePCPartExtraData(string sXDATA, int nExtraInfo, int nInfoParam, int nValue); 
-int GetProcessMemoryUsage();​ +  ​* ​float GetSinglePCPartExtraDataFloat(string sXDATA, int nExtraInfo);​ 
-int GetSinglePCPartExtraData(string sXDATA, int nExtraInfo, int nInfoParam);​ +  ​* ​string SetSinglePCPartExtraDataFloat(string sXDATA, int nExtraInfo, float fValue); 
-string SetSinglePCPartExtraData(string sXDATA, int nExtraInfo, int nInfoParam, int nValue); +  ​* ​int GetLastDialogReplyTime(object oCreature);​ 
-float GetSinglePCPartExtraDataFloat(string sXDATA, int nExtraInfo);​ +  ​* ​object GetDialogWith(object oObject); 
-string SetSinglePCPartExtraDataFloat(string sXDATA, int nExtraInfo, float fValue); +  ​* ​float GetItemPropertyCostByValues(int nItemPropertyType,​ int nItemPropertySubType,​ int nItemPropertyCostTable);​ 
-string SQLEncodeSpecialChars(string sToEncode);​ +  ​* ​int GetItemPropertyPPByValues(int nItemPropertyType,​ int nItemPropertySubType,​ int nItemPropertyCostTable);​ 
-object SQLGetObject(int nColumnIndex,​ location lLocation, object oOwner=OBJECT_INVALID);​ +  ​* ​int GetItemPropertiesPP(object oItem); 
-int SQLFetch();​ +  ​* ​string GetItemPropertyMaterialByValues(int nItemPropertyType,​ int nItemPropertySubType,​ int nItemPropertyCostTable);​ 
-string SQLGetData(int nColumnIndex);​ +  ​* ​int Get2DARowCount(string sTableName);​ 
-int SQLGetInt(int nColumnIndex);​ +  ​* ​int Get2DAColCount(string sTableName);​ 
-float SQLGetFloat(int nColumnIndex);​ +  ​* ​string Get2DAColumnNameByIndex(string sTableName, int nColumnIndex);​ 
-int SQLStoreObject(string sSQL, object oObject); +  ​* ​string Get2DAStringByColumnIndex(string sTableName, int nColumnIndex,​ int nRow); 
-object SQLRetrieveObject(string sSQL, location lLocation, object oOwner=OBJECT_INVALID);​ +  ​* ​int GetNext2DARowWithPrefix(string sTableName, string sColumnIndex,​ int nRow, string sPrefix); 
-dbresult SQLExec(string sSQL); +  ​* ​void ReloadCached2DA(string sTableName);​ 
-string SQLQuote(string sToEncode);​ +  ​* ​int GetNext2DARowWithValue(string sTableName, string sColumnIndex,​ int nRow, string sValue); 
-void SendUDPMessage(int nPort, string sMessage);​ +  ​* ​int GetArraySize(array aArray); 
-int GetLastDialogReplyTime(object oCreature);​ +  ​* ​void DeleteArrayItem(array aArray, int nIndex); 
-object GetDialogWith(object oObject); +  ​* ​array CopyArray(array aToCopy); 
-float GetItemPropertyCostByValues(int nItemPropertyType,​ int nItemPropertySubType,​ int nItemPropertyCostTable);​ +  ​* ​void SortArray(array aToSort); 
-int GetItemPropertyPPByValues(int nItemPropertyType,​ int nItemPropertySubType,​ int nItemPropertyCostTable);​ +  ​* ​void AddArrayInt(array aArray, int nValue); 
-int GetItemPropertiesPP(object oItem); +  ​* ​void SetArrayInt(array aArray, int nIndex, int nValue); 
-string GetItemPropertyMaterialByValues(int nItemPropertyType,​ int nItemPropertySubType,​ int nItemPropertyCostTable);​ +  ​* ​int GetArrayInt(array aArray, int nIndex); 
-int Get2DARowCount(string sTableName);​ +  ​* ​void AddArrayFloat(array aArray, float fValue); 
-int Get2DAColCount(string sTableName);​ +  ​* ​void SetArrayFloat(array aArray, int nIndex, float fValue); 
-string Get2DAColumnNameByIndex(string sTableName, int nColumnIndex);​ +  ​* ​float GetArrayFloat(array aArray, int nIndex); 
-string Get2DAStringByColumnIndex(string sTableName, int nColumnIndex,​ int nRow); +  ​* ​void AddArrayObject(array aArray, object oValue); 
-int GetNext2DARowWithPrefix(string sTableName, string sColumnIndex,​ int nRow, string sPrefix); +  ​* ​void SetArrayObject(array aArray, int nIndex, object oValue); 
-void ReloadCached2DA(string sTableName);​ +  ​* ​object GetArrayObject(array aArray, int nIndex); 
-int GetNext2DARowWithValue(string sTableName, string sColumnIndex,​ int nRow, string sValue); +  ​* ​void AddArrayString(array aArray, string sValue); 
-int GetArraySize(array aArray); +  ​* ​void SetArrayString(array aArray, int nIndex, string sValue); 
-void DeleteArrayItem(array aArray, int nIndex); +  ​* ​string GetArrayString(array aArray, int nIndex); 
-array CopyArray(array aToCopy); +  ​* ​void AddArrayVector(array aArray, vector vValue); 
-void SortArray(array aToSort); +  ​* ​void SetArrayVector(array aArray, int nIndex, vector vValue); 
-void AddArrayInt(array aArray, int nValue); +  ​* ​vector GetArrayVector(array aArray, int nIndex); 
-void SetArrayInt(array aArray, int nIndex, int nValue); +  ​* ​void AddArrayLocation(array aArray, location lValue); 
-int GetArrayInt(array aArray, int nIndex); +  ​* ​void SetArrayLocation(array aArray, int nIndex, location lValue); 
-void AddArrayFloat(array aArray, float fValue); +  ​* ​location GetArrayLocation(array aArray, int nIndex); 
-void SetArrayFloat(array aArray, int nIndex, float fValue); +  ​* ​void AddArrayArray(array aArray, array aValue); 
-float GetArrayFloat(array aArray, int nIndex); +  ​* ​void SetArrayArray(array aArray, int nIndex, array aValue); 
-void AddArrayObject(array aArray, object oValue); +  ​* ​array GetArrayArray(array aArray, int nIndex); 
-void SetArrayObject(array aArray, int nIndex, object oValue); +  ​* ​void AddArrayDictionary(array aArray, dictionary dValue); 
-object GetArrayObject(array aArray, int nIndex); +  ​* ​void SetArrayDictionary(array aArray, int nIndex, dictionary dValue); 
-void AddArrayString(array aArray, string sValue); +  ​* ​dictionary GetArrayDictionary(array aArray, int nIndex); 
-void SetArrayString(array aArray, int nIndex, string sValue); +  ​* ​string ArrayToString(array aArray, string sSeparator);​ 
-string GetArrayString(array aArray, int nIndex); +  ​* ​array StringToArray(string sString, string sSeparator);​ 
-void AddArrayVector(array aArray, vector vValue); +  ​* ​int GetDictionarySize(dictionary dDictionary);​ 
-void SetArrayVector(array aArray, int nIndex, vector vValue); +  ​* ​void DeleteDictionaryItem(dictionary dDictionary,​ string sKey); 
-vector GetArrayVector(array aArray, int nIndex); +  ​* ​dictionary CopyDictionary(dictionary dDictionary);​ 
-void AddArrayLocation(array aArray, location lValue); +  ​* ​array GetFirstDictionaryPair(dictionary dDictionary);​ 
-void SetArrayLocation(array aArray, int nIndex, location lValue); +  ​* ​array GetNextDictionaryPair(dictionary dDictionary);​ 
-location GetArrayLocation(array aArray, int nIndex); +  ​* ​array GetDictionaryKeys(dictionary dDictionary);​ 
-void AddArrayArray(array aArray, array aValue); +  ​* ​array GetDictionaryValues(dictionary dDictionary);​ 
-void SetArrayArray(array aArray, int nIndex, array aValue); +  ​* ​void SetDictionaryInt(dictionary dDictionary,​ string sKey, int nValue); 
-array GetArrayArray(array aArray, int nIndex); +  ​* ​int GetDictionaryInt(dictionary dDictionary,​ string sKey); 
-void AddArrayDictionary(array aArray, dictionary dValue); +  ​* ​void SetDictionaryFloat(dictionary dDictionary,​ string sKey, float fValue); 
-void SetArrayDictionary(array aArray, int nIndex, dictionary dValue); +  ​* ​float GetDictionaryFloat(dictionary dDictionary,​ string sKey); 
-dictionary GetArrayDictionary(array aArray, int nIndex); +  ​* ​void SetDictionaryObject(dictionary dDictionary,​ string sKey, object oValue); 
-string ArrayToString(array aArray, string sSeparator);​ +  ​* ​object GetDictionaryObject(dictionary dDictionary,​ string sKey); 
-array StringToArray(string sString, string sSeparator);​ +  ​* ​void SetDictionaryString(dictionary dDictionary,​ string sKey, string sValue); 
-int GetDictionarySize(dictionary dDictionary);​ +  ​* ​string GetDictionaryString(dictionary dDictionary,​ string sKey); 
-void DeleteDictionaryItem(dictionary dDictionary,​ string sKey); +  ​* ​void SetDictionaryVector(dictionary dDictionary,​ string sKey, vector vValue); 
-dictionary CopyDictionary(dictionary dDictionary);​ +  ​* ​vector GetDictionaryVector(dictionary dDictionary,​ string sKey); 
-array GetFirstDictionaryPair(dictionary dDictionary);​ +  ​* ​void SetDictionaryLocation(dictionary dDictionary,​ string sKey, location lValue); 
-array GetNextDictionaryPair(dictionary dDictionary);​ +  ​* ​location GetDictionaryLocation(dictionary dDictionary,​ string sKey); 
-array GetDictionaryKeys(dictionary dDictionary);​ +  ​* ​void SetDictionaryArray(dictionary dDictionary,​ string sKey, array aValue); 
-array GetDictionaryValues(dictionary dDictionary);​ +  ​* ​array GetDictionaryArray(dictionary dDictionary,​ string sKey); 
-void SetDictionaryInt(dictionary dDictionary,​ string sKey, int nValue); +  ​* ​void SetDictionaryDictionary(dictionary dDictionary,​ string sKey, dictionary dValue); 
-int GetDictionaryInt(dictionary dDictionary,​ string sKey); +  ​* ​dictionary GetDictionaryDictionary(dictionary dDictionary,​ string sKey); 
-void SetDictionaryFloat(dictionary dDictionary,​ string sKey, float fValue); +  ​* ​string TrimString(string sString); 
-float GetDictionaryFloat(dictionary dDictionary,​ string sKey); +  ​* ​string ReplaceSubString(string sString, string sSubString, string sReplace);​ 
-void SetDictionaryObject(dictionary dDictionary,​ string sKey, object oValue); +  ​* ​int RegexTest(string sString, string sRegex, int bCaseInsensitive=FALSE);​ 
-object GetDictionaryObject(dictionary dDictionary,​ string sKey); +  ​* ​array RegexMatch(string sString, string sRegex, int bCaseInsensitive=FALSE);​ 
-void SetDictionaryString(dictionary dDictionary,​ string sKey, string sValue); +  ​* ​string RegexReplace(string sString, string sRegex, string sReplacement,​ int bCaseInsensitive=FALSE);​ 
-string GetDictionaryString(dictionary dDictionary,​ string sKey); +  ​* ​string StringToJSON(string s); 
-void SetDictionaryVector(dictionary dDictionary,​ string sKey, vector vValue); +  ​* ​string StringFromJSON(string sJSON); 
-vector GetDictionaryVector(dictionary dDictionary,​ string sKey); +  ​* ​string VectorToJSON(vector v); 
-void SetDictionaryLocation(dictionary dDictionary,​ string sKey, location lValue); +  ​* ​vector VectorFromJSON(string sJSON); 
-location GetDictionaryLocation(dictionary dDictionary,​ string sKey); +  ​* ​string LocationToJSON(location l); 
-void SetDictionaryArray(dictionary dDictionary,​ string sKey, array aValue); +  ​* ​location LocationFromJSON(string sJSON); 
-array GetDictionaryArray(dictionary dDictionary,​ string sKey); +  ​* ​string ArrayToJSON(array a); 
-void SetDictionaryDictionary(dictionary dDictionary,​ string sKey, dictionary dValue); +  ​* ​array ArrayFromJSON(string sJSON); 
-dictionary GetDictionaryDictionary(dictionary dDictionary,​ string sKey); +  ​* ​string DictionaryToJSON(dictionary d); 
-string TrimString(string sString); +  ​* ​dictionary DictionaryFromJSON(string sJSON); 
-string ReplaceSubString(string sString, string sSubString, string sReplace);​ +  ​* ​void RemoveObjectFromAI(object oObject); 
-int RegexTest(string sString, string sRegex, int bCaseInsensitive=FALSE);​ +  ​* ​void AddObjectToAI(object oObject, int nAILevel=0);​ 
-array RegexMatch(string sString, string sRegex, int bCaseInsensitive=FALSE);​ +  ​* ​int GetAIObjectCount(int nAILevel);​ 
-string RegexReplace(string sString, string sRegex, string sReplacement,​ int bCaseInsensitive=FALSE);​ +  ​* ​int GetGameObjectCount();​ 
-string StringToJSON(string s); +  ​* ​int GetSlotFromItem(object oCreature, object oItem); 
-string StringFromJSON(string sJSON); +  ​* ​void ForceEquipItem(object oCreature, object oItem, int nSlot); 
-string VectorToJSON(vector v); +  ​* ​void ForceUnequipItem(object oCreature, object oItem); 
-vector VectorFromJSON(string sJSON); +  ​* ​void SetScript(object oObject, int nEvent, string sScriptName);​ 
-string LocationToJSON(location l); +  ​* ​string GetScript(object oObject, int nEvent); 
-location LocationFromJSON(string sJSON); +  ​* ​location GetDesiredLocation(object oPC); 
-string ArrayToJSON(array a); +  ​* ​void ClosePlaceable(object oPlaceable);​ 
-array ArrayFromJSON(string sJSON); +  ​* ​int GetActionCount(object oObject); 
-string DictionaryToJSON(dictionary d); +  ​* ​int GetActionType(object oObject, int nAction); 
-dictionary DictionaryFromJSON(string sJSON); +  ​* ​int GetItemExtraData(object oItem, int nItemPart, int nExtraInfo, int nInfoParam);​ 
-void RemoveObjectFromAI(object oObject); +  ​* ​float GetItemExtraDataFloat(object oItem, int nItemPart, int nExtraInfo);​ 
-void AddObjectToAI(object oObject, int nAILevel=0);​ +  ​* ​void SetItemExtraData(object oItem, int nItemPart, int nExtraInfo, int nInfoParam, int nValue); 
-int GetAIObjectCount(int nAILevel);​ +  ​* ​void SetItemExtraDataFloat(object oItem, int nItemPart, int nExtraInfo, float fValue); 
-int GetGameObjectCount();​ +  ​* ​int GetNumPlayersInArea(object oArea); 
-int GetSlotFromItem(object oCreature, object oItem); +  ​* ​int IsPlayerCharacter(object oCreature);​ 
-void ForceEquipItem(object oCreature, object oItem, int nSlot); +  ​* ​string GetCurrentScriptName();​ 
-void ForceUnequipItem(object oCreature, object oItem); +  ​* ​void StartTimer();​ 
-void SetScript(object oObject, int nEvent, string sScriptName);​ +  ​* ​string EndTimer();​ 
-string GetScript(object oObject, int nEvent); +  ​* ​void Log(string sLogMessasge,​ string sPrefix=""​);​ 
-location GetDesiredLocation(object oPC); +  ​* ​array GetLoot(int nLootId, float fCR); 
-void ClosePlaceable(object oPlaceable);​ +  ​* ​void SetUseDayNightCycle(object oArea, int bUseDayNightCycle);​ 
-int GetActionCount(object oObject); +  ​* ​int GetUseDayNightCycle(object oArea); 
-int GetActionType(object oObject, int nAction); +  ​* ​void SetIsNight(object oArea, int bIsNight);​ 
-int GetItemExtraData(object oItem, int nItemPart, int nExtraInfo, int nInfoParam);​ +  ​* ​void EndCombatRound(object oCreature);​ 
-float GetItemExtraDataFloat(object oItem, int nItemPart, int nExtraInfo);​ +  ​* ​int MemGet(object oObject, int nOffset, int nSize); 
-void SetItemExtraData(object oItem, int nItemPart, int nExtraInfo, int nInfoParam, int nValue); +  ​* ​void MemSet(object oObject, int nOffset, int nSize, int nValue); 
-void SetItemExtraDataFloat(object oItem, int nItemPart, int nExtraInfo, float fValue); +  ​* ​int GetServerPort();​ 
-int GetNumPlayersInArea(object oArea); +  ​* ​int GetNWNCXVersion(object oPC); 
-int IsPlayerCharacter(object oCreature);​ +  ​* ​object GetPlayerArea(object oPlayer); 
-string GetCurrentScriptName();​ +  ​* ​int GetNWServerInstanceCount();​ 
-void StartTimer();​ +  ​* ​int GetNWServerInstancePort(int nNWServerInstanceIndex=-1); ​  
-string EndTimer();​ +  ​* ​string GetNWServerInstanceName(int nNWServerInstanceIndex=-1);​ 
-void Log(string sLogMessasge,​ string sPrefix=""​);​ +  ​* ​int GetNWServerInstanceSharePlayerList(int nNWServerInstanceIndex=-1);​ 
-array GetLoot(int nLootId, float fCR); +  ​* ​int GetNWServerInstanceDefaultHakset(int nNWServerInstanceIndex=-1);​ 
-void SetUseDayNightCycle(object oArea, int bUseDayNightCycle);​ +  ​* ​int GetCurrentServerId();​ 
-int GetUseDayNightCycle(object oArea); +  ​* ​int GetServervaultId();​ 
-void SetIsNight(object oArea, int bIsNight);​ +  ​* ​string GetServerNameById(int nServerId);​ 
-void EndCombatRound(object oCreature);​ +  ​* ​int GetPortFromServerId(int nServerId);​ 
-int MemGet(object oObject, int nOffset, int nSize); +  ​* ​int GetServerIdFromPort(int nPort); 
-void MemSet(object oObject, int nOffset, int nSize, int nValue); +  ​* ​int ExecuteConditionalScript(string sScriptName,​ object oObjectSelf);​ 
-int GetServerPort();​ +  ​* ​void SetServerSetting(int nSetting, int nValue); 
-int GetNWNCXVersion(object oPC); +  ​* ​void SetServerSettingString(int nSetting, string sValue); 
-object GetPlayerArea(object oPlayer); +  ​* ​string QuickReadGFF(string sGFFFile, string sFieldName);​ 
-int GetNWServerInstanceCount();​ +  ​* ​void SetDesiredLocation(object oPC, location lLocation);​ 
-int GetNWServerInstancePort(int nNWServerInstanceIndex=-1);​ +  ​* ​void SetLocation(object oCreature, location lLocation);​ 
-string GetNWServerInstanceName(int nNWServerInstanceIndex=-1);​ +  ​* ​void SetPosition(object oObject, vector vPosition);​ 
-int GetNWServerInstanceSharePlayerList(int nNWServerInstanceIndex=-1);​ +  ​* ​void SetTag(object oObject, string sTag); 
-int GetNWServerInstanceDefaultHakset(int nNWServerInstanceIndex=-1);​ +  ​* ​void SetGender(object oCreature, int nGender); 
-int GetCurrentServerId();​ +  ​* ​void SetBABOverride(object oCreature, int nBAB); 
-int GetServervaultId();​ +  ​* ​void SetMapNote(object oWaypoint, string sMapNote);​ 
-string GetServerNameById(int nServerId);​ +  ​* ​object _CreateArea(string sResRef); 
-int GetPortFromServerId(int nServerId);​ +  ​* ​int _DestroyArea(object oArea); 
-int GetServerIdFromPort(int nPort); +  ​* ​int GetIsInVisibleList(object oSource, object oTarget); 
-int ExecuteConditionalScript(string sScriptName,​ object oObjectSelf);​ +  ​* ​void SetCasterLevelOverride(int nCasterLevel);​ 
-void SetServerSetting(int nSetting, int nValue); +  ​* ​void SetDispelSaveOverride(int nSaveOverride);​ 
-void SetServerSettingString(int nSetting, string sValue); +  ​* ​int GetLastSpellCastFeat(object oCreature);​ 
-string QuickReadGFF(string sGFFFile, string sFieldName);​ +  ​* ​void SetLastSpellCastFeat(object oCreature, int nFeat); 
-void SetDesiredLocation(object oPC, location lLocation);​ +  ​* ​void SetLastSpellCastClass(object oCreature, int nClass); 
-void SetLocation(object oCreature, location lLocation);​ +  ​* ​void SetLastSpellCastId(object oCreature, int nSpellId);​ 
-void SetPosition(object oObject, vector vPosition);​ +  ​* ​void SetLastSpellCastFromItem(object oCreature, int bCastFromItem); ​  
-void SetTag(object oObject, string sTag); +  ​* ​void SetLastMetaMagicFeat(object oObject, int nMetaMagic);​ 
-void SetGender(object oCreature, int nGender); +  ​* ​int GetFeatSourceClass(object oCreature, int nFeat); 
-void SetBABOverride(object oCreature, int nBAB); +  ​* ​int GetLastAttackRollResult(object oCreature);​ 
-void SetMapNote(object oWaypoint, string sMapNote);​ +  ​* ​int GetLastAttackFeat(object oCreature);​ 
-object _CreateArea(string sResRef); +  ​* ​void SetServerSettingFloat(int nSetting, float fValue); 
-int _DestroyArea(object oArea); +  ​* ​int GetDoorOpenState(object oDoor); 
-int GetIsInVisibleList(object oSource, object oTarget); +  ​* ​void SetDoorOpenState(object oDoor, int nState); 
-void SetCasterLevelOverride(int nCasterLevel);​ +  ​* ​void InstantlyPauseConversation(object oDialogStarter,​ int bPause=TRUE);​ 
-void SetDispelSaveOverride(int nSaveOverride);​ +  ​* ​void SetStoreSellMarkUp(object oStore, int nMarkUp); 
-int GetLastSpellCastFeat(object oCreature);​ +  ​* ​int GetStoreSellMarkUp(object oStore); 
-void SetLastSpellCastFeat(object oCreature, int nFeat); +  ​* ​void SetStoreBuyMarkDown(object oStore, int nMarkDown);​ 
-void SetLastSpellCastClass(object oCreature, int nClass); +  ​* ​void SetStoreBuyStolenGoods(object oStore, int bBuyStolenGoods);​ 
-void SetLastSpellCastId(object oCreature, int nSpellId);​ +  ​* ​int GetItemAC(object oItem); 
-void SetLastSpellCastFromItem(object oCreature, int bCastFromItem);​ +  ​* ​void SetItemAC(object oItem, int nAC); 
-void SetLastMetaMagicFeat(object oObject, int nMetaMagic);​ +  ​* ​void ResetItemAC(object oItem); 
-int GetFeatSourceClass(object oCreature, int nFeat); +  ​* ​void CopyVariables(object oFrom, object oTo); 
-int GetLastAttackRollResult(object oCreature);​ +  ​* ​void SetConversationInterruptable(object oCreature, int bInterruptable);​ 
-int GetLastAttackFeat(object oCreature);​ +  ​* ​int GetPlaceableAppearance(object oPlaceable);​ 
-void SetServerSettingFloat(int nSetting, float fValue); +  ​* ​void ModifyItem_NoRefresh(object oItem, int nType, int nIndex, int nNewValue);​ 
-int GetDoorOpenState(object oDoor); +  ​* ​int GetHasSpellMemorized(object oCreature, int nSpell, int nClass); 
-void SetDoorOpenState(object oDoor, int nState); +  ​* ​int GetAreaOfEffectCasterLevel(object oAoE); 
-void InstantlyPauseConversation(object oDialogStarter,​ int bPause=TRUE);​ +  ​* ​void RemoveDoorLink(object oDoor); 
-void SetStoreSellMarkUp(object oStore, int nMarkUp); +  ​* ​void SetPlaceableStaticFlag(object oPlaceable, int bStatic); 
-int GetStoreSellMarkUp(object oStore); +  ​* ​int GetPlaceableStaticFlag(object oPlaceable);​ 
-void SetStoreBuyMarkDown(object oStore, int nMarkDown);​ +  ​* ​void ForceAppearanceUpdate(object oCreature);​ 
-void SetStoreBuyStolenGoods(object oStore, int bBuyStolenGoods);​ +  ​* ​void StopDialog(object oPC); 
-int GetItemAC(object oItem); +  ​* ​int GetDoorAppearance(object oDoor); 
-void SetItemAC(object oItem, int nAC); +  ​* ​void SetDoorAppearance(object oDoor, int nAppearance);​ 
-void ResetItemAC(object oItem); +  ​* ​void SetAdditionalCost(object oItem, int nAddCost);​ 
-void CopyVariables(object oFrom, object oTo); +  ​* ​int GetAdditionalCost(object oItem); 
-void SetConversationInterruptable(object oCreature, int bInterruptable);​ +  ​* ​void PlayInternalAnimation(int nInternalAnimation,​ float fSpeed=1.0, float fDurationSeconds=0.0,​ object oTarget=OBJECT_SELF);​ 
-int GetPlaceableAppearance(object oPlaceable);​ +  ​* ​void ActionPlayInternalAnimation(int nInternalAnimation,​ float fSpeed=1.0, float fDurationSeconds=0.0,​ object oTarget=OBJECT_SELF);​ 
-void ModifyItem_NoRefresh(object oItem, int nType, int nIndex, int nNewValue);​ +  ​* ​void ClearAllActionsOnObject(object oObject); 
-int GetHasSpellMemorized(object oCreature, int nSpell, int nClass); +  ​* ​void UpdateMiniMap(object oPC); 
-int GetAreaOfEffectCasterLevel(object oAoE); +  ​* ​void ClearMySpellsEffects(object oCaster); 
-void RemoveDoorLink(object oDoor); +  ​* ​void ClearSpellsEffectsOnOthers(object oCaster); 
-void SetPlaceableStaticFlag(object oPlaceable, int bStatic); +  ​* ​int GetUseMonkAbilities(object oCreature);​ 
-int GetPlaceableStaticFlag(object oPlaceable);​ +  ​* ​void SetStartingLocation(location lLocation);​ 
-void ForceAppearanceUpdate(object oCreature);​ +  ​* ​array _GetTriggerBounds(object oTrigger);​ 
-void StopDialog(object oPC); +  ​* ​void ForceItemStackSize(object oItem, int nStackSize);​ 
-int GetDoorAppearance(object oDoor); +  ​* ​void ReapplyItemPropertiesOfItemInSlot(object oCreature, int nSlot); 
-void SetDoorAppearance(object oDoor, int nAppearance);​ +  ​* ​void SetHeadItemOverrideString(object oCreature, string sItem); 
-void SetAdditionalCost(object oItem, int nAddCost);​ +  ​* ​void SetPCCreature(object oPC, object oCreature);​ 
-int GetAdditionalCost(object oItem); +  ​* ​void PossessFamiliar(object oPC); 
-void PlayInternalAnimation(int nInternalAnimation,​ float fSpeed=1.0, float fDurationSeconds=0.0,​ object oTarget=OBJECT_SELF);​ +  ​* ​void Spacer_234();​ 
-void ActionPlayInternalAnimation(int nInternalAnimation,​ float fSpeed=1.0, float fDurationSeconds=0.0,​ object oTarget=OBJECT_SELF);​ +  ​* ​int GetAreaOfEffectSpellId(object oAOE); 
-void ClearAllActionsOnObject(object oObject); +  ​* ​int GetAreaPVPSetting(object oArea); 
-void UpdateMiniMap(object oPC); +  ​* ​int GetPCLike(object oPC, object oTarget); 
-void ClearMySpellsEffects(object oCaster); +  ​* ​void SetTauntAnimationPlayed(object oCreature, int bAnimationPlayed);​ 
-void ClearSpellsEffectsOnOthers(object oCaster); +  ​* ​string GetCreatureHeadItemOverrideString(object oCreature);​ 
-int GetUseMonkAbilities(object oCreature);​ +  ​* ​void InstantlyRemoveEffects(object oObject, int nDurationType=-1,​ int nEffectType=-1,​ int nSpellId=-1,​ int nInt1=-1, int nInt1Value=-1,​ int nInt2=-1, int nInt2Value=-1,​ object oCreator=OBJECT_INVALID,​ string sEffectTag=""​);​ 
-void SetStartingLocation(location lLocation);​ +  ​* ​void RegisterEvent(string sEvent, string sScript); 
-array _GetTriggerBounds(object oTrigger);​ +  ​* ​void UnregisterEvent(string sEvent, string sScript); 
-void ForceItemStackSize(object oItem, int nStackSize);​ +  ​* ​void BypassRegisteredEvent();​ 
-void ReapplyItemPropertiesOfItemInSlot(object oCreature, int nSlot); +  ​* ​int GetTriggerHasPoint(object oTrigger, vector vPoint); 
-void SetHeadItemOverrideString(object oCreature, string sItem); +  ​* ​void SetLinkedToTag(object oTrigger, int nLinkType, string sTag); 
-void SetPCCreature(object oPC, object oCreature);​ +  ​* ​void SetDoorLinkedTo(object oDoor, object oTarget); 
-void PossessFamiliar(object oPC); +  ​* ​void SetAreaName(object oArea, string sName); 
-void Spacer_234();​ +  ​* ​void SendChatMessage(object oFrom, int nTalkVolume,​ string sMessage, object oTo=OBJECT_INVALID);​ 
-int GetAreaOfEffectSpellId(object oAOE); +  ​* ​void SendSingleChatMessage(object oFrom, int nSingleChatChannel,​ string sMessage, object oTo); 
-int GetAreaPVPSetting(object oArea); +  ​* ​void AddChatSource(object oPC, int nVolume, string sMessage);​ 
-int GetPCLike(object oPC, object oTarget); +  ​* ​void AddChatTarget(int nFromPlayerId,​ int nToPlayerId,​ string sMessage);​ 
-void SetTauntAnimationPlayed(object oCreature, int bAnimationPlayed);​ +  ​* ​void ReplyToWebClient(int nPlayerId, string sReason); 
-string GetCreatureHeadItemOverrideString(object oCreature);​ +  ​* ​int _AddRemotePlayer(object oCreature, int bIsDM, string sPlayerName);​ 
-void InstantlyRemoveEffects(object oObject, int nDurationType=-1,​ int nEffectType=-1,​ int nSpellId=-1,​ int nInt1=-1, int nInt1Value=-1,​ int nInt2=-1, int nInt2Value=-1,​ object oCreator=OBJECT_INVALID,​ string sEffectTag=""​);​ +  ​* ​void _DeleteRemotePlayer(int nPlayerId);​ 
-void RegisterEvent(string sEvent, string sScript); +  ​* ​effect EffectVisualEffectWithXDATA(string sXDATA, int nVisualEffectId,​ int nMissEffect=FALSE);​ 
-void UnregisterEvent(string sEvent, string sScript); +  ​* ​string GetVisualEffectXDATA(effect eVFX); 
-void BypassRegisteredEvent();​ +  ​* ​object GetFirstSoundObjectInArea(object oArea); 
-int GetTriggerHasPoint(object oTrigger, vector vPoint); +  ​* ​object GetNextSoundObjectInArea(object oArea); 
-void SetLinkedToTag(object oTrigger, int nLinkType, string sTag); +  ​* ​void ReloadCustomFactionsReputations();​ 
-void SetDoorLinkedTo(object oDoor, object oTarget); +  ​* ​void UpdateCustomFactionsList(object oCreature);​ 
-void SetAreaName(object oArea, string sName); +  ​* ​int GetCustomFactionReputation(object oFromCreature,​ object oToCreature);​ 
-void SendChatMessage(object oFrom, int nTalkVolume,​ string sMessage, object oTo=OBJECT_INVALID);​ +  ​* ​void LoadDMAreasPrefix();​ 
-void SendSingleChatMessage(object oFrom, int nSingleChatChannel,​ string sMessage, object oTo); +  ​* ​int GetDamageResistance(object oCreature, int nDamageFlag,​ int bLimitedResistanceToo=FALSE);​ 
-void AddChatSource(object oPC, int nVolume, string sMessage);​ +  ​* ​int GetDamageReductionEffectForPower(object oCreature, int nPower); 
-void AddChatTarget(int nFromPlayerId,​ int nToPlayerId,​ string sMessage);​ +  ​* ​int GetTotalDamageImmunity(object oCreature, int nDamType);​ 
-void ReplyToWebClient(int nPlayerId, string sReason); +  ​* ​int GetConcealment(object oCreature, int nVersus); 
-int _AddRemotePlayer(object oCreature, int bIsDM, string sPlayerName);​ +  ​* ​void SendMapPinAdded(object oPC, vector vPosition, string sDescription,​ int nPinId); 
-void _DeleteRemotePlayer(int nPlayerId);​ +  ​* ​void Spacer_268();​ 
-effect EffectVisualEffectWithXDATA(string sXDATA, int nVisualEffectId,​ int nMissEffect=FALSE);​ +  ​* ​void SetMapString(string sMap, string sKey, string sString); 
-string GetVisualEffectXDATA(effect eVFX); +  ​* ​string GetMapString(string sMap, string sKey); 
-object GetFirstSoundObjectInArea(object oArea); +  ​* ​void DeleteMapString(string sMap, string sKey); 
-object GetNextSoundObjectInArea(object oArea); +  ​* ​void RegisterObject(string sSet, object o); 
-void ReloadCustomFactionsReputations();​ +  ​* ​void UnregisterObject(string sSet, object o); 
-void UpdateCustomFactionsList(object oCreature);​ +  ​* ​void UnregisterAllObjects(string sSet); 
-int GetCustomFactionReputation(object oFromCreature,​ object oToCreature);​ +  ​* ​void RunScriptOnAllRegisteredObjects(string sSet, string sScript); 
-void LoadDMAreasPrefix();​ +  ​* ​void SetServerCustomToken(int nToken, string sValue, object oTarget=OBJECT_SELF);​ 
-int GetDamageResistance(object oCreature, int nDamageFlag,​ int bLimitedResistanceToo=FALSE);​ +  ​* ​string GetServerCustomToken(int nToken, object oTarget=OBJECT_SELF);​ 
-int GetDamageReductionEffectForPower(object oCreature, int nPower); +  ​* ​int GetAIEventParam1(int nEventIndex);​ 
-int GetTotalDamageImmunity(object oCreature, int nDamType);​ +  ​* ​int GetAIEventParam2(int nEventIndex);​ 
-int GetConcealment(object oCreature, int nVersus); +  ​* ​int GetAIEventType(int nEventIndex);​ 
-void SendMapPinAdded(object oPC, vector vPosition, string sDescription,​ int nPinId); +  ​* ​string GetAIEventScriptName(int nEventIndex);​ 
-void Spacer_268();​ +  ​* ​int GetAIEventCount(int nEventType=X_EVENT_ALL);​ 
-void SetMapString(string sMap, string sKey, string sString); +  ​* ​object GetCreatureEncounter(object oCreature);​ 
-string GetMapString(string sMap, string sKey); +  ​* ​object GetBodyBagObject(object oCreature);​ 
-void DeleteMapString(string sMap, string sKey); +  ​* ​void SuspendArea(object oArea); 
-void RegisterObject(string sSet, object o); +  ​* ​void WokeUpArea(object oArea); 
-void UnregisterObject(string sSet, object o); +  ​* ​object GetPlayerControlledCreature(object oPlayerGameObject);​ 
-void UnregisterAllObjects(string sSet); +  ​* ​object GetPlayerCharacter(object oPlayerControlledCreature);​ 
-void RunScriptOnAllRegisteredObjects(string sSet, string sScript); +  ​* ​void Spacer_289();​ 
-void SetServerCustomToken(int nToken, string sValue, object oTarget=OBJECT_SELF);​ +  ​* ​void Spacer_290();​ 
-string GetServerCustomToken(int nToken, object oTarget=OBJECT_SELF);​ +  ​* ​object GetAIObjectByIndex(int nAILevel, int nIndex); 
-int GetAIEventParam1(int nEventIndex);​ +  ​* ​object GetGameObjectByIndex(int nIndex); 
-int GetAIEventParam2(int nEventIndex);​ +  ​* ​object GetFirstRegisteredObject(string sSet); 
-int GetAIEventType(int nEventIndex);​ +  ​* ​object GetNextRegisteredObject();​ 
-string GetAIEventScriptName(int nEventIndex);​ +  ​* ​object UpdateItemAppr(object oItem); 
-int GetAIEventCount(int nEventType=X_EVENT_ALL);​ +  ​* ​int GetTrueEffectCount(object oObject); 
-object GetCreatureEncounter(object oCreature);​ +  ​* ​effect GetTrueEffectByIndex(object oObject, int nIndex); 
-object GetBodyBagObject(object oCreature);​ +  ​* ​void RemoveTrueEffectByIndex(object oObject, int nIndex); 
-void SuspendArea(object oArea); +  ​* ​float GetEffectDuration(effect e); 
-void WokeUpArea(object oArea); +  ​* ​float GetItemPropertyDuration(itemproperty ip); 
-object GetPlayerControlledCreature(object oPlayerGameObject);​ +  ​* ​float GetEffectDurationRemaining(effect e); 
-object GetPlayerCharacter(object oPlayerControlledCreature);​ +  ​* ​float GetItemPropertyDurationRemaining(itemproperty ip); 
-void Spacer_289();​ +  ​* ​int GetEffectId(effect e); 
-void Spacer_290();​ +  ​* ​void SetEffectId(effect e, int nEffectId);​ 
-object GetAIObjectByIndex(int nAILevel, int nIndex); +  ​* ​int GetEffectTrueType(effect e); 
-object GetGameObjectByIndex(int nIndex); +  ​* ​void SetEffectTrueType(effect e, int nEffectId);​ 
-object GetFirstRegisteredObject(string sSet); +  ​* ​int GetEffectInteger(effect e, int nIndex); 
-object GetNextRegisteredObject();​ +  ​* ​int GetItemPropertyInteger(itemproperty ip, int nIndex); 
-object UpdateItemAppr(object oItem); +  ​* ​void SetEffectInteger(effect e, int nIndex, int nValue); 
-int GetTrueEffectCount(object oObject); +  ​* ​void SetItemPropertyInteger(itemproperty ip, int nIndex, int nValue); 
-effect GetTrueEffectByIndex(object oObject, int nIndex); +  ​* ​int GetItemPropertySpellId(itemproperty e); 
-void RemoveTrueEffectByIndex(object oObject, int nIndex); +  ​* ​void SetEffectSpellId(effect e, int nSpellId);​ 
-float GetEffectDuration(effect e); +  ​* ​void SetItemPropertySpellId(itemproperty ip, int nSpellId);​ 
-float GetItemPropertyDuration(itemproperty ip); +  ​* ​object GetItemPropertyCreator(itemproperty ip); 
-float GetEffectDurationRemaining(effect e); +  ​* ​void SetEffectCreator(effect e, object oCreator);​ 
-float GetItemPropertyDurationRemaining(itemproperty ip); +  ​* ​void SetItemPropertyCreator(itemproperty ip, object oCreator);​ 
-int GetEffectId(effect e); +  ​* ​effect EffectBonusFeat(int nFeat); 
-void SetEffectId(effect e, int nEffectId);​ +  ​* ​effect EffectIcon(int nIcon); 
-int GetEffectTrueType(effect e); +  ​* ​effect EffectSetAIState(int nAIState);​ 
-void SetEffectTrueType(effect e, int nEffectId);​ +  ​* ​void Spacer_320();​ 
-int GetEffectInteger(effect e, int nIndex); +  ​* ​void Spacer_321();​ 
-int GetItemPropertyInteger(itemproperty ip, int nIndex); +  ​* ​void Spacer_322();​ 
-void SetEffectInteger(effect e, int nIndex, int nValue); +  ​* ​void Spacer_323();​ 
-void SetItemPropertyInteger(itemproperty ip, int nIndex, int nValue); +  ​* ​void SetPlayerCharacterName(object oPC, string sName); 
-int GetItemPropertySpellId(itemproperty e); +  ​* ​void SetCreatureDisplayName(object oPC, string sName); 
-void SetEffectSpellId(effect e, int nSpellId);​ +  ​* ​void SetVisiblePlayerName(object oPlayer, string sVisibleName);​ 
-void SetItemPropertySpellId(itemproperty ip, int nSpellId);​ +  ​* ​string GetVisiblePlayerName(object oPlayer); 
-object GetItemPropertyCreator(itemproperty ip); +  ​* ​void ReloadServerSettings();​ 
-void SetEffectCreator(effect e, object oCreator);​ +  ​* ​int GetArrayValueType(array aArray, int nIndex); 
-void SetItemPropertyCreator(itemproperty ip, object oCreator);​ +  ​* ​int GetDictionaryValueType(dictionary dDictionary,​ string sKey); 
-effect EffectBonusFeat(int nFeat); +  ​* ​int LoadServerBoolean(string sTag, int nDefaultValue,​ string sDescription);​ 
-effect EffectIcon(int nIcon); +  ​* ​int LoadServerInt(string sTag, int nDefaultValue,​ int nMin, int nMax, string sDescription);​ 
-effect EffectSetAIState(int nAIState);​ +  ​* ​float LoadServerFloat(string sTag, float fDefaultValue,​ int nMin, int nMax, string sDescription);​ 
-void Spacer_320();​ +  ​* ​string LoadServerString(string sTag, string sDefaultValue,​ string sDescription,​ int nType=SERVOPT_TYPE_TEXT);​ 
-void Spacer_321();​ +  ​* ​int GetServerInt(string sTag); 
-void Spacer_322();​ +  ​* ​float GetServerFloat(string sTag); 
-void Spacer_323();​ +  ​* ​string GetServerString(string sTag); 
-int SQLAffectedRows();​ +  ​* ​void SetServerInt(string sTag, int nValue); 
-void SetPlayerCharacterName(object oPC, string sName); +  ​* ​void SetServerFloat(string sTag, float fValue); 
-void SetCreatureDisplayName(object oPC, string sName); +  ​* ​void SetServerString(string sTag, string sValue); 
-void SetVisiblePlayerName(object oPlayer, string sVisibleName);​ +  ​* ​string GetEffectTag(effect e); 
-string GetVisiblePlayerName(object oPlayer); +  ​* ​void SetEffectTag(effect e, string sTag); 
-void ReloadServerSettings();​ +  ​* ​array [[https://​forum.sinfar.net/​viewtopic.php?​p=91249&​hilit=GetLocalVariableCount#​p91249|GetLocalVariablesOfTypeWithPrefix]](object o, int nType, string sPrefix); 
-int GetArrayValueType(array aArray, int nIndex); +  ​* ​int [[https://​forum.sinfar.net/​viewtopic.php?​p=91249&​hilit=GetLocalVariableCount#​p91249|DeleteLocalVariablesOfTypeWithPrefix]](object o, int nType, string sPrefix); 
-int GetDictionaryValueType(dictionary dDictionary,​ string sKey); +  ​* ​int [[https://​forum.sinfar.net/​viewtopic.php?​p=91249&​hilit=GetLocalVariableCount#​p91249|GetLocalVariableCount]](object o); 
-int LoadServerBoolean(string sTag, int nDefaultValue,​ string sDescription);​ +  ​* ​array [[https://​forum.sinfar.net/​viewtopic.php?​p=91249&​hilit=GetLocalVariableCount#​p91249|GetLocalVariableAtIndex]](object o, int nIndex); 
-int LoadServerInt(string sTag, int nDefaultValue,​ int nMin, int nMax, string sDescription);​ +  ​* ​int [[https://​forum.sinfar.net/​viewtopic.php?​p=91249&​hilit=GetLocalVariableCount#​p91249|HasLocalInt]](object o, string sName); 
-float LoadServerFloat(string sTag, float fDefaultValue,​ int nMin, int nMax, string sDescription);​ +  ​* ​int [[https://​forum.sinfar.net/​viewtopic.php?​p=91249&​hilit=GetLocalVariableCount#​p91249|HasLocalString]](object o, string sName); 
-string LoadServerString(string sTag, string sDefaultValue,​ string sDescription,​ int nType=SERVOPT_TYPE_TEXT);​ +  ​* ​int [[https://​forum.sinfar.net/​viewtopic.php?​p=91249&​hilit=GetLocalVariableCount#​p91249|HasLocalFloat]](object o, string sName); 
-int GetServerInt(string sTag); +  ​* ​int [[https://​forum.sinfar.net/​viewtopic.php?​p=91249&​hilit=GetLocalVariableCount#​p91249|HasLocalObject]](object o, string sName); 
-float GetServerFloat(string sTag); +  ​* ​int [[https://​forum.sinfar.net/​viewtopic.php?​p=91249&​hilit=GetLocalVariableCount#​p91249|HasLocalLocation]](object o, string sName); 
-string GetServerString(string sTag); +  ​* ​string GetTilesetInformation(string sResRef, string sSection, string sEntry); 
-void SetServerInt(string sTag, int nValue); +  ​* ​int GetQuickButtonType(object oCreature, int nButtonPosition);​ 
-void SetServerFloat(string sTag, float fValue); +  ​* ​object GetQuickButtonItem1(object oCreature, int nButtonPosition);​ 
-void SetServerString(string sTag, string sValue); +  ​* ​object GetQuickButtonItem2(object oCreature, int nButtonPosition);​ 
-string GetEffectTag(effect e); +  ​* ​int GetQuickButtonClass(object oCreature, int nButtonPosition);​ 
-void SetEffectTag(effect e, string sTag); +  ​* ​int GetQuickButtonMetaMagic(object oCreature, int nButtonPosition);​ 
-array GetLocalVariablesOfTypeWithPrefix(object o, int nType, string sPrefix); +  ​* ​int GetQuickButtonSpellId(object oCreature, int nButtonPosition);​ 
-int DeleteLocalVariablesOfTypeWithPrefix(object o, int nType, string sPrefix); +  ​* ​string GetQuickButtonCommand(object oCreature, int nButtonPosition);​ 
-int GetLocalVariableCount(object o); +  ​* ​string GetQuickButtonCommandLabel(object oCreature, int nButtonPosition);​ 
-array GetLocalVariableAtIndex(object o, int nIndex); +  ​* ​string GetQuickButtonCreatorResRef(object oCreature, int nButtonPosition);​ 
-int HasLocalInt(object o, string sName); +  ​* ​string GetQuickButtonCreatorLabel(object oCreature, int nButtonPosition);​ 
-int HasLocalString(object o, string sName); +  ​* ​int GetQuickButtonAssociateType(object oCreature, int nButtonPosition);​ 
-int HasLocalFloat(object o, string sName); +  ​* ​object GetQuickButtonAssociate(object oCreature, int nButtonPosition);​ 
-int HasLocalObject(object o, string sName); +  ​* ​void SetQuickButton(object oCreature, int nButtonPosition,​ int nType, object oItem1, object oItem2, int nClass, int nMetaMagic, int nSpellId, string sCommand, string sCommandLabel,​ string sCreatorResRef,​ string sCreatorLabel,​ int nAssociateType,​ object oAssociate);​ 
-int HasLocalLocation(object o, string sName); +  ​* ​int PC_GetId(object oPC); 
-string GetTilesetInformation(string sResRef, string sSection, string sEntry); +  ​* ​int PLAYER_GetId(object oPlayer); 
-int GetQuickButtonType(object oCreature, int nButtonPosition);​ +  ​* ​int PC_Create(object oPC); 
-object GetQuickButtonItem1(object oCreature, int nButtonPosition);​ +  ​* ​int PC_GetCurrentServer(object oPC); 
-object GetQuickButtonItem2(object oCreature, int nButtonPosition);​ +  ​* ​location PC_GetSavedLocation(object oPC); 
-int GetQuickButtonClass(object oCreature, int nButtonPosition);​ +  ​* ​void PC_SetSavedLocation(object oPC, location lLocation);​ 
-int GetQuickButtonMetaMagic(object oCreature, int nButtonPosition);​ +  ​* ​int GetSurface(location lLocation);​ 
-int GetQuickButtonSpellId(object oCreature, int nButtonPosition);​ +  ​* ​int GetAnimation(object oTarget); 
-string GetQuickButtonCommand(object oCreature, int nButtonPosition);​ +  ​* ​float GetAnimationSpeed(object oTarget); 
-string GetQuickButtonCommandLabel(object oCreature, int nButtonPosition);​ +  ​* ​int GetFlatFlooted(object oCreature);​ 
-string GetQuickButtonCreatorResRef(object oCreature, int nButtonPosition);​ +  ​* ​int GetIsPolymorphed(object oCreature);​ 
-string GetQuickButtonCreatorLabel(object oCreature, int nButtonPosition);​ +  ​* ​int GetEventParamInt(int nParamIndex);​ 
-int GetQuickButtonAssociateType(object oCreature, int nButtonPosition);​ +  ​* ​object GetEventParamObject(int nParamIndex);​ 
-object GetQuickButtonAssociate(object oCreature, int nButtonPosition);​ +  ​* ​string GetEventParamString(int nParamIndex);​ 
-void SetQuickButton(object oCreature, int nButtonPosition,​ int nType, object oItem1, object oItem2, int nClass, int nMetaMagic, int nSpellId, string sCommand, string sCommandLabel,​ string sCreatorResRef,​ string sCreatorLabel,​ int nAssociateType,​ object oAssociate);​ +  ​* ​float GetEventParamFloat(int nParamIndex);​ 
-int PC_GetId(object oPC); +  ​* ​effect GetEventParamEffect(int nParamIndex);​ 
-int PLAYER_GetId(object oPlayer); +  ​* ​array GetEventParamArray(int nParamIndex);​ 
-int PC_Create(object oPC); +  ​* ​dictionary GetEventParamDictionary(int nParamIndex);​ 
-int PC_GetCurrentServer(object oPC); +  ​* ​location GetEventParamLocation(int nParamIndex);​ 
-location PC_GetSavedLocation(object oPC); +  ​* ​vector GetEventParamVector(int nParamIndex);​ 
-void PC_SetSavedLocation(object oPC, location lLocation);​ +  ​* ​array GetEventParams();​ 
-int SQLGetInsertId();​ +  ​* ​int GetEventParamType(int nParam); 
-int SQLGetLastResultCode();​ +  ​* ​int GetEventParamCount();​ 
-int GetSurface(location lLocation);​ +  ​* ​void BypassEvent();​ 
-int GetAnimation(object oTarget); +  ​* ​void SetEventResultInt(int nResult); 
-float GetAnimationSpeed(object oTarget); +  ​* ​void SetEventResultObject(object oResult); 
-int GetFlatFlooted(object oCreature);​ +  ​* ​void SetEventResultString(string sResult); 
-int GetIsPolymorphed(object oCreature);​ +  ​* ​void SetEventResultFloat(float fResult); 
-void _SetXPL_DontUse(int i); +  ​* ​void SetEventResultEffect(effect eResult); 
-int GetEventParamInt(int nParamIndex);​ +  ​* ​void SetEventResultArray(array aResult); 
-object GetEventParamObject(int nParamIndex);​ +  ​* ​void SetEventResultDictionary(dictionary dResult); 
-string GetEventParamString(int nParamIndex);​ +  ​* ​void SetEventResultVector(vector vResult); 
-float GetEventParamFloat(int nParamIndex);​ +  ​* ​void SetEventResultLocation(location lResult); 
-effect GetEventParamEffect(int nParamIndex);​ +  ​* ​int RunEvent(string sScript, object oTarget, array aParams); 
-array GetEventParamArray(int nParamIndex);​ +  ​* ​int RunEventInt(string sScript, object oTarget, array aParams); 
-dictionary GetEventParamDictionary(int nParamIndex);​ +  ​* ​object RunEventObject(string sScript, object oTarget, array aParams); 
-location GetEventParamLocation(int nParamIndex);​ +  ​* ​string RunEventString(string sScript, object oTarget, array aParams); 
-vector GetEventParamVector(int nParamIndex);​ +  ​* ​float RunEventFloat(string sScript, object oTarget, array aParams); 
-array GetEventParams();​ +  ​* ​effect RunEventEffect(string sScript, object oTarget, array aParams); 
-int GetEventParamType(int nParam); +  ​* ​array RunEventArray(string sScript, object oTarget, array aParams); 
-int GetEventParamCount();​ +  ​* ​dictionary RunEventDictionary(string sScript, object oTarget, array aParams); 
-void BypassEvent();​ +  ​* ​vector RunEventVector(string sScript, object oTarget, array aParams); 
-void SetEventResultInt(int nResult); +  ​* ​location RunEventLocation(string sScript, object oTarget, array aParams); 
-void SetEventResultObject(object oResult); +  ​* ​void AddArrayEffect(array aArray, effect eValue); 
-void SetEventResultString(string sResult); +  ​* ​void SetArrayEffect(array aArray, int nIndex, effect eValue); 
-void SetEventResultFloat(float fResult); +  ​* ​effect GetArrayEffect(array aArray, int nIndex); 
-void SetEventResultEffect(effect eResult); +  ​* ​void SetDictionaryEffect(dictionary dDictionary,​ string sKey, effect eValue); 
-void SetEventResultArray(array aResult); +  ​* ​effect GetDictionaryEffect(dictionary ddDictionary,​ string sKey); 
-void SetEventResultDictionary(dictionary dResult); +  ​* ​int GetCurrentNodeType();​ 
-void SetEventResultVector(vector vResult); +  ​* ​int GetCurrentNodeID();​ 
-void SetEventResultLocation(location lResult); +  ​* ​int GetCurrentAbsoluteNodeID();​ 
-int RunEvent(string sScript, object oTarget, array aParams); +  ​* ​int GetSelectedNodeID();​ 
-int RunEventInt(string sScript, object oTarget, array aParams); +  ​* ​int GetSelectedAbsoluteNodeID();​ 
-object RunEventObject(string sScript, object oTarget, array aParams); +  ​* ​string GetSelectedNodeText(int nLangID = LANGUAGE_ENGLISH,​ int nGender = GENDER_MALE);​ 
-string RunEventString(string sScript, object oTarget, array aParams); +  ​* ​string GetCurrentNodeText(int nLangID = LANGUAGE_ENGLISH,​ int nGender = GENDER_MALE);​ 
-float RunEventFloat(string sScript, object oTarget, array aParams); +  ​* ​void SetCurrentNodeText(string sText, int nLangID = LANGUAGE_ENGLISH,​ int nGender = GENDER_MALE);​ 
-effect RunEventEffect(string sScript, object oTarget, array aParams); +  ​* ​int GetKnowsFeat(object oCreature, int nFeat); 
-array RunEventArray(string sScript, object oTarget, array aParams); +  ​* ​int GetDamageImmunity(object oObject, int nDamageType);​ 
-dictionary RunEventDictionary(string sScript, object oTarget, array aParams); +  ​* ​void SetAbilityScore(object oCreature, int nAbility, int nValue); 
-vector RunEventVector(string sScript, object oTarget, array aParams); +  ​* ​void ClosePlayerStore(object oPlayer); 
-location RunEventLocation(string sScript, object oTarget, array aParams); +  ​* ​void SetSkillRank(object oCreature, int nSkill, int nValue); 
-void AddArrayEffect(array aArray, effect eValue); +  ​* ​int GetACNaturalBase(object oCreature);​ 
-void SetArrayEffect(array aArray, int nIndex, effect eValue); +  ​* ​void SetACNaturalBase(object oCreature, int nValue); 
-effect GetArrayEffect(array aArray, int nIndex); +  ​* ​void AddKnownFeat(object oCreature, int nFeat, int nLevel=-1);​ 
-void SetDictionaryEffect(dictionary dDictionary,​ string sKey, effect eValue); +  ​* ​void RemoveKnownFeat(object oCreature, int nFeat, int nLevel=-1);​ 
-effect GetDictionaryEffect(dictionary ddDictionary,​ string sKey); +  ​* ​int GetTotalKnownFeats(object oCreature, int nLevel=-1);​ 
-int GetCurrentNodeType();​ +  ​* ​int GetKnownFeatByIndex(object oCreature, int nFeatIndex, int nLevel=-1);​ 
-int GetCurrentNodeID();​ +  ​* ​int GetFeatRemainingUses(object oCreature, int nFeat); 
-int GetCurrentAbsoluteNodeID();​ +  ​* ​int GetFeatTotalUses(object oCreature, int nFeat); 
-int GetSelectedNodeID();​ +  ​* ​int GetIsClassBonusFeat(int nClass, int nFeat); 
-int GetSelectedAbsoluteNodeID();​ +  ​* ​int GetIsClassGeneralFeat(int nClass, int nFeat); 
-string GetSelectedNodeText(int nLangID = LANGUAGE_ENGLISH,​ int nGender = GENDER_MALE);​ +  ​* ​int GetIsClassGrantedFeat(int nClass, int nFeat); 
-string GetCurrentNodeText(int nLangID = LANGUAGE_ENGLISH,​ int nGender = GENDER_MALE);​ +  ​* ​int GetIsClassSkill(int nClass, int nSkill); 
-void SetCurrentNodeText(string sText, int nLangID = LANGUAGE_ENGLISH,​ int nGender = GENDER_MALE);​ +  ​* ​int GetClassByLevel(object oCreature, int nLevel); 
-int GetKnowsFeat(object oCreature, int nFeat); +  ​* ​int GetAbilityIncreaseByLevel(object oCreature, int nLevel); 
-int GetDamageImmunity(object oObject, int nDamageType);​ +  ​* ​int GetSkillIncreaseByLevel(object oCreature, int nLevel, int nSkill); 
-void SetAbilityScore(object oCreature, int nAbility, int nValue); +  ​* ​int GetSavingThrowBonus(object oCreature, int nSave); 
-void ClosePlayerStore(object oPlayer); +  ​* ​void SetSavingThrowBonus(object oCreature, int nSave, int nValue); 
-void SetSkillRank(object oCreature, int nSkill, int nValue); +  ​* ​int GetMaxHitPointsByLevel(object oCreature, int nLevel); 
-int GetACNaturalBase(object oCreature);​ +  ​* ​void SetMaxHitPointsByLevel(object oCreature, int nLevel, int nVaule); 
-void SetACNaturalBase(object oCreature, int nValue); +  ​* ​void SetCreatureSize(object oCreature, int nSize); 
-void AddKnownFeat(object oCreature, int nFeat, int nLevel=-1);​ +  ​* ​int GetPCSkillPoints(object oCreature);​ 
-void RemoveKnownFeat(object oCreature, int nFeat, int nLevel=-1);​ +  ​* ​void SetPCSkillPoints(object oCreature, int nValue); 
-int GetTotalKnownFeats(object oCreature, int nLevel=-1);​ +  ​* ​int GetBodyBag(object oCreature);​ 
-int GetKnownFeatByIndex(object oCreature, int nFeatIndex, int nLevel=-1);​ +  ​* ​void SetBodyBag(object oCreature, int nValue); 
-int GetFeatRemainingUses(object oCreature, int nFeat); +  ​* ​void SetAlignmentGoodEvil(object oCreature, int nValue); 
-int GetFeatTotalUses(object oCreature, int nFeat); +  ​* ​void SetAlignmentLawChaos(object oCreature, int nValue); 
-int GetIsClassBonusFeat(int nClass, int nFeat); +  ​* ​void SetCurrentHitPoints(object oObject, int nHP); 
-int GetIsClassGeneralFeat(int nClass, int nFeat); +  ​* ​void SetMaxHitPoints(object oObject, int nHP); 
-int GetIsClassGrantedFeat(int nClass, int nFeat); +  ​* ​int GetKnowsSpell(object oCreature, int nSpell, int nClass=CLASS_TYPE_INVALID);​ 
-int GetIsClassSkill(int nClass, int nSkill); +  ​* ​int GetKnownSpell(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex);​ 
-int GetClassByLevel(object oCreature, int nLevel); +  ​* ​void SetKnownSpell(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex,​ int nSpellId);​ 
-int GetAbilityIncreaseByLevel(object oCreature, int nLevel); +  ​* ​int GetNumKnownSpells(object oCreature, int nClass, int nSpellLevel);​ 
-int GetSkillIncreaseByLevel(object oCreature, int nLevel, int nSkill); +  ​* ​void AddKnownSpell(object oCreature, int nClass, int nSpellLevel,​ int nSpellId);​ 
-int GetSavingThrowBonus(object oCreature, int nSave); +  ​* ​void RemoveKnownSpell(object oCreature, int nClass, int nSpellLevel,​ int nSpellId);​ 
-void SetSavingThrowBonus(object oCreature, int nSave, int nValue); +  ​* ​int GetMemorizedSpellCount(object oCreature, int nClass, int nSpellLevel);​ 
-int GetMaxHitPointsByLevel(object oCreature, int nLevel); +  ​* ​int GetMemorizedSpellId(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex);​ 
-void SetMaxHitPointsByLevel(object oCreature, int nLevel, int nVaule); +  ​* ​int GetMemorizedSpellReady(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex);​ 
-void SetCreatureSize(object oCreature, int nSize); +  ​* ​int GetMemorizedSpellMetaMagic(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex);​ 
-int GetPCSkillPoints(object oCreature);​ +  ​* ​int GetMemorizedSpellDomain(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex);​ 
-void SetPCSkillPoints(object oCreature, int nValue); +  ​* ​void SetMemorizedSpellId(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex,​ int nSpellId);​ 
-int GetBodyBag(object oCreature);​ +  ​* ​void SetMemorizedSpellReady(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex,​ int bReady); 
-void SetBodyBag(object oCreature, int nValue); +  ​* ​void SetMemorizedSpellMetaMagic(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex,​ int nMetaMagic);​ 
-void SetAlignmentGoodEvil(object oCreature, int nValue); +  ​* ​void SetMemorizedSpellDomain(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex,​ int nDomain); 
-void SetAlignmentLawChaos(object oCreature, int nValue); +  ​* ​void SetMemorizedSpell(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex,​ int nSpellId, int bReady, int nMetaMagic, int nDomain); 
-void SetCurrentHitPoints(object oObject, int nHP); +  ​* ​int GetClericDomain(object oCreature, int nIndex); 
-void SetMaxHitPoints(object oObject, int nHP); +  ​* ​void SetClericDomain(object oCreature, int nIndex, int nDomain); 
-int GetKnowsSpell(object oCreature, int nSpell, int nClass=CLASS_TYPE_INVALID);​ +  ​* ​int GetWizardSpecialization(object oCreature);​ 
-int GetKnownSpell(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex);​ +  ​* ​void SetWizardSpecialization(object oCreature, int nSchool); 
-void SetKnownSpell(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex,​ int nSpellId);​ +  ​* ​int GetSpecialAbilityCount(object oCreature);​ 
-int GetNumKnownSpells(object oCreature, int nClass, int nSpellLevel);​ +  ​* ​int GetSpecialAbilitySpellId(object oCreature, int nIndex); 
-void AddKnownSpell(object oCreature, int nClass, int nSpellLevel,​ int nSpellId);​ +  ​* ​int GetSpecialAbilityFlags(object oCreature, int nIndex); 
-void RemoveKnownSpell(object oCreature, int nClass, int nSpellLevel,​ int nSpellId);​ +  ​* ​int GetSpecialAbilityLevel(object oCreature, int nIndex); 
-int GetMemorizedSpellCount(object oCreature, int nClass, int nSpellLevel);​ +  ​* ​void SetSpecialAbilitySpellId(object oCreature, int nIndex, int nSpellId);​ 
-int GetMemorizedSpellId(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex);​ +  ​* ​void SetSpecialAbilityFlags(object oCreature, int nIndex, int nFlags); 
-int GetMemorizedSpellReady(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex);​ +  ​* ​void SetSpecialAbilityLevel(object oCreature, int nIndex, int nLevel); 
-int GetMemorizedSpellMetaMagic(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex);​ +  ​* ​void RemoveSpecialAbility(object oCreature, int nIndex); 
-int GetMemorizedSpellDomain(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex);​ +  ​* ​void AddSpecialAbility(object oCreature, int nSpellId, int nFlags, int nLevel); 
-void SetMemorizedSpellId(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex,​ int nSpellId);​ +  ​* ​string GetPortrait(object oCreature);​ 
-void SetMemorizedSpellReady(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex,​ int bReady); +  ​* ​void SetPortrait(object oCreature, string sPortraitResRef);​ 
-void SetMemorizedSpellMetaMagic(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex,​ int nMetaMagic);​ +  ​* ​int GetSoundset(object oCreature);​ 
-void SetMemorizedSpellDomain(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex,​ int nDomain); +  ​* ​void SetSoundset(object oCreature, int nSoundset);​ 
-void SetMemorizedSpell(object oCreature, int nClass, int nSpellLevel,​ int nSpellIndex,​ int nSpellId, int bReady, int nMetaMagic, int nDomain); +  ​* ​void SetTrapCreator(object oTrap, object oCreator);​ 
-int GetClericDomain(object oCreature, int nIndex); +  ​* ​string GetConversation(object oCreature);​ 
-void SetClericDomain(object oCreature, int nIndex, int nDomain); +  ​* ​void SetConversation(object oCreature, string sConversation);​ 
-int GetWizardSpecialization(object oCreature);​ +  ​* ​string GetLocalVariableName(object oObject, int nIndex); 
-void SetWizardSpecialization(object oCreature, int nSchool); +  ​* ​int GetLocalVariableType(object oObject, int nIndex); 
-int GetSpecialAbilityCount(object oCreature);​ +  ​* ​object GetFirstArea();​ 
-int GetSpecialAbilitySpellId(object oCreature, int nIndex); +  ​* ​object GetNextArea();​ 
-int GetSpecialAbilityFlags(object oCreature, int nIndex); +  ​* ​void SetBaseItemType(object oItem, int nBaseItem);​ 
-int GetSpecialAbilityLevel(object oCreature, int nIndex); +  ​* ​void SetGoldPieceValue(object oItem, int nValue); 
-void SetSpecialAbilitySpellId(object oCreature, int nIndex, int nSpellId);​ +  ​* ​void SetItemWeight(object oItem, int nTenthLbs);​ 
-void SetSpecialAbilityFlags(object oCreature, int nIndex, int nFlags); +  ​* ​void SetPlaceableAppearance(object oPlaceable, int nAppearance);​ 
-void SetSpecialAbilityLevel(object oCreature, int nIndex, int nLevel); +  ​* ​float GetGroundHeight(object oArea, vector vPos); 
-void RemoveSpecialAbility(object oCreature, int nIndex); +  ​* ​float GetGroundHeightFromLocation(location lLoc); 
-void AddSpecialAbility(object oCreature, int nSpellId, int nFlags, int nLevel); +  ​* ​int GetIsWalkable(object oArea, vector vPos); 
-string GetPortrait(object oCreature);​ +  ​* ​int GetIsWalkableLocation(location lLoc); 
-void SetPortrait(object oCreature, string sPortraitResRef);​ +  ​* ​int GetPCPort(object oPC); 
-int GetSoundset(object oCreature);​ +  ​* ​void BootPCWithMessage(object oPC, int nStrRef); 
-void SetSoundset(object oCreature, int nSoundset);​ +  ​* ​string GetPCFileName(object oPC); 
-void SetTrapCreator(object oTrap, object oCreator);​ +  ​* ​int GetFactionId(object oObject); 
-string GetConversation(object oCreature);​ +  ​* ​void SetFactionId(object oObject, int nFaction);​ 
-void SetConversation(object oCreature, string sConversation);​ +  ​* ​void SetLastHostileActor(object oObject, object oActor); 
-string GetLocalVariableName(object oObject, int nIndex); +  ​* ​void SetMovementRate(object oCreature, int nRate); 
-int GetLocalVariableType(object oObject, int nIndex); +  ​* ​void SetRacialType(object oCreature, int nRacialType);​ 
-object GetFirstArea();​ +  ​* ​object IntToObject(int nObjectId);​ 
-object GetNextArea();​ +  ​* ​object StringToObject(string sObjectId);​ 
-void SetBaseItemType(object oItem, int nBaseItem);​ +  ​* ​int GetCriticalHitMultiplier(object oCreature, int bOffhand);​ 
-void SetGoldPieceValue(object oItem, int nValue); +  ​* ​int GetCriticalHitRange(object oCreature, int bOffhand);​ 
-void SetItemWeight(object oItem, int nTenthLbs);​ +  ​* ​int GetCurrentAnimation(object oCreature);​ 
-void SetPlaceableAppearance(object oPlaceable, int nAppearance);​ +  ​* ​void SetCurrentAnimation(object oCreature, int nAnimation);​ 
-float GetGroundHeight(object oArea, vector vPos); +  ​* ​int GetForcedWalk(object oCreature);​ 
-float GetGroundHeightFromLocation(location lLoc); +  ​* ​void SetForcedWalk(object oCreature, int bWalk); 
-int GetIsWalkable(object oArea, vector vPos); +  ​* ​void SetPlaceableHasInventory(object oPlaceable, int bHasInventory);​ 
-int GetIsWalkableLocation(location lLoc); +  ​* ​void ReloadERFs();​ 
-int GetPCPort(object oPC); +  ​* ​void ReloadCached2das();​ 
-void BootPCWithMessage(object oPC, int nStrRef); +  ​* ​void ReloadAll2das();​ 
-string GetPCFileName(object oPC); +  ​* ​void PC_SetSavedLocationData(object oPC, string sLocation, int nServerId);​ 
-int GetFactionId(object oObject); +  ​* ​string VectorToString(vector v); 
-void SetFactionId(object oObject, int nFaction);​ +  ​* ​vector StringToVector(string s); 
-void SetLastHostileActor(object oObject, object oActor); +  ​* ​string LocationToString(location l); 
-void SetMovementRate(object oCreature, int nRate); +  ​* ​location StringToLocation(string s); 
-void SetRacialType(object oCreature, int nRacialType);​ +  ​* ​string PC_GetSavedLocationString(object oPC); 
-object IntToObject(int nObjectId);​ +  ​* ​int RunVariableEvent(object oObject, string sEvent); 
-object StringToObject(string sObjectId);​ +  ​* ​string GetCurrentVariableEvent();​ 
-int GetCriticalHitMultiplier(object oCreature, int bOffhand);​ +  ​* ​object GetCurrentVariableEventTarget();​ 
-int GetCriticalHitRange(object oCreature, int bOffhand);​ +  ​* ​void BypassVariableEvent();​ 
-int GetCurrentAnimation(object oCreature);​ +  ​* ​void UnregisterVariableEvent(object oObject, string sEvent, string sScript); 
-void SetCurrentAnimation(object oCreature, int nAnimation);​ +  ​* ​void RegisterVariableEvent(object oObject, string sEvent, string sScript, int bNoByPass=FALSE);​ 
-int GetForcedWalk(object oCreature);​ +  ​* ​void SendWebClientCommand(int nPlayerId, string sTag, string sParams, int nDuration=30,​ string sReason="​MISC"​);​ 
-void SetForcedWalk(object oCreature, int bWalk); +  ​* ​int GetPlayerServerRoles(object oPlayer); 
-void SetPlaceableHasInventory(object oPlaceable, int bHasInventory);​ +  ​* ​int PC_GetPlayerOptions(object oPC); 
-void ReloadERFs();​ +  ​* ​int PC_GetPlayerOption(object oPC, int nOption); 
-void ReloadCached2das();​ +  ​* ​void PC_SetPlayerOption(object oPC, int nOption, int bOn); 
-void ReloadAll2das();​ +  ​* ​string GetPlayerOptionString(object oPC, string sGroup, string sName); 
-void PC_SetSavedLocationData(object oPC, string sLocation, int nServerId);​ +  ​* ​void SetPlayerOptionString(object oPC, string sGroup, string sName, string sValue); 
-string VectorToString(vector v); +  ​* ​int GetPersistentAreaId(object oArea); 
-vector StringToVector(string s); +  ​* ​int GetCurrentScriptInCore();​ 
-string LocationToString(location l); +  ​* ​int GetCurrentScriptPublic();​ 
-location StringToLocation(string s); +  ​* ​int GetCurrentScriptErfId();​ 
-string PC_GetSavedLocationString(object oPC); +  ​* ​int GetCurrentScriptServers();​ 
-int RunVariableEvent(object oObject, string sEvent); +  ​* ​int CRC32(string sValue); 
-string GetCurrentVariableEvent();​ +  ​* ​string SHA256(string sValue); 
-object GetCurrentVariableEventTarget();​ +  ​* ​int HexToInt(string sHex); 
-void BypassVariableEvent();​ +  * tring ByteToHex(int nInt); 
-void UnregisterVariableEvent(object oObject, string sEvent, string sScript); +  ​* ​string WordToHex(int nInt); 
-void RegisterVariableEvent(object oObject, string sEvent, string sScript, int bNoByPass=FALSE);​ +  ​* ​string IntToHex(int nInt); 
-void SendWebClientCommand(int nPlayerId, string sTag, string sParams, int nDuration=30,​ string sReason="​MISC"​);​ +  ​* ​int GetPlayerGameVersion(object oPlayer); 
-int GetPlayerServerRoles(object oPlayer); +  ​* ​int GetPlayerGameLanguage(object oPlayer); 
-int PC_GetPlayerOptions(object oPC); +  ​* ​int GetPlayerExpansionPack(object oPlayer); 
-int PC_GetPlayerOption(object oPC, int nOption); +  ​* ​void HttpRequest(string sUrl, string sCallbackScript,​ array aCallbackParams,​ string sMethod="​GET",​ string sBody=""​);​ 
-void PC_SetPlayerOption(object oPC, int nOption, int bOn); +  ​* ​void LogDebug(string sLogMessasge,​ string sPrefix=""​);​ 
-string GetPlayerOptionString(object oPC, string sGroup, string sName); +  ​* ​void LogWarning(string sLogMessasge,​ string sPrefix=""​);​ 
-void SetPlayerOptionString(object oPC, string sGroup, string sName, string sValue); +  ​* ​void LogError(string sLogMessasge,​ string sPrefix=""​);​ 
-int GetPersistentAreaId(object oArea); +  ​* ​int HomeIdFromObject(object oObject); 
-string GetDatabaseName();​ +  ​* ​int IsPlayerScriptObject(object oObject); 
-dbresult SQLCoreExec(string sSQL); +  ​* ​int HouseScriptHomeId();​ 
-int SQLCoreAffectedRows();​ +  ​* ​void RemovePlayerHouseEffects(object oObject); 
-void SQLCoreGetInsertId();​ +  ​* ​string GetResRefPrefix(string sResRef); 
-int GetCurrentScriptInCore();​ +  ​* ​string GetResRefErfPrefix(string sResRef); 
-int GetCurrentScriptPublic();​ +  ​* ​int GetResRefErfId(string sResRef); 
-int GetCurrentScriptErfId();​ +  ​* ​int GetResRefErfServers(string sResRef); 
-int GetCurrentScriptServers();​ +  ​* ​void PrintToStdErr(string sPrint); 
-int CRC32(string sValue); +  ​* ​void PrintToStdOut(string sPrint); 
-string SHA256(string sValue); +  ​* ​int IsOnSinfarWorld();​ 
-string GetCorePCPublicCDKey(object oPC); +  ​* ​void PrepareToDestroy(object oObject); 
-int HexToInt(string sHex); +  ​* ​int GetScriptExecuteStackPointer();​ 
-string ​ByteToHex(int nInt); +  ​* ​string GetScriptNameByExecuteIndex(int nExecuteIndex);​ 
-string WordToHex(int nInt); +  ​* ​int GetActionGroupId(object oObject, int nAction); 
-string IntToHex(int nInt); +  ​* ​int GetActionParamCount(object oObject, int nAction); 
-int GetPlayerGameVersion(object oPlayer); +  ​* ​int GetActionParamType(object oObject, int nAction, int nParam); 
-int GetPlayerGameLanguage(object oPlayer); +  ​* ​int GetActionParamInt(object oObject, int nAction, int nParam); 
-int GetPlayerExpansionPack(object oPlayer); +  ​* ​float GetActionParamFloat(object oObject, int nAction, int nParam); 
-void HttpRequest(string sUrl, string sCallbackScript,​ array aCallbackParams,​ string sMethod="​GET",​ string sBody=""​);​ +  ​* ​object GetActionParamObject(object oObject, int nAction, int nParam); 
-void LogDebug(string sLogMessasge,​ string sPrefix=""​);​ +  ​* ​string GetActionParamString(object oObject, int nAction, int nParam); 
-void LogWarning(string sLogMessasge,​ string sPrefix=""​);​ +  ​* ​location GetActionParamLocation(object oObject, int nAction, int nParam); 
-void LogError(string sLogMessasge,​ string sPrefix=""​);​ +  ​* ​int GetActionInterruptable(object oObject, int nAction); 
-int HomeIdFromObject(object oObject); +  ​* ​void AddAction(object oObject, int nActionType,​ array aParams, int nActionGroupId=-1);​ 
-int IsPlayerScriptObject(object oObject); +  ​* ​void AddActionToFront(object oObject, int nActionType,​ array aParams, int nActionGroupId=-1);​ 
-int HouseScriptHomeId();​ +  ​* ​void AddActionAfterFront(object oObject, int nActionType,​ array aParams, int nActionGroupId=-1);​ 
-void RemovePlayerHouseEffects(object oObject); +  ​* ​void ActionDoCommandToBack(action aActionToDo,​ int nActionGroupId=-1);​ 
-array CORE_GetPlayerDefaultCDKeys(string sPlayerName);​ +  ​* ​void ActionDoCommandToFront(action aActionToDo,​ int nActionGroupId=-1);​ 
-string GetResRefPrefix(string sResRef); +  ​* ​void ActionDoCommandAfterFront(action aActionToDo,​ int nActionGroupId=-1);​ 
-string GetResRefErfPrefix(string sResRef); +  ​* ​int GetCurrentActionType(object oObject); 
-int GetResRefErfId(string sResRef); +  ​* ​int GetCurrentActionGroupId(object oObject); 
-int GetResRefErfServers(string sResRef); +  ​* ​int GetCurrentActionParamCount(object oObject); 
-void PrintToStdErr(string sPrint); +  ​* ​int GetCurrentActionParamType(object oObject, int nParam); 
-void PrintToStdOut(string sPrint); +  ​* ​int GetCurrentActionParamInt(object oObject, int nParam); 
-int IsOnSinfarWorld();​ +  ​* ​float GetCurrentActionParamFloat(object oObject, int nParam); 
-void PrepareToDestroy(object oObject); +  ​* ​object GetCurrentActionParamObject(object oObject, int nParam); 
-int GetScriptExecuteStackPointer();​ +  ​* ​string GetCurrentActionParamString(object oObject, int nParam); 
-string GetScriptNameByExecuteIndex(int nExecuteIndex);​ +  ​* ​location GetCurrentActionParamLocation(object oObject, int nParam); 
-int GetActionGroupId(object oObject, int nAction); +  ​* ​int IsValidPlayerScriptObject(object oObject); 
-int GetActionParamCount(object oObject, int nAction); +  ​* ​void RemovePlayerHouseVariables(object oObject); 
-int GetActionParamType(object oObject, int nAction, int nParam); +  ​* ​int StartsWith(string sString, string sPrefix); 
-int GetActionParamInt(object oObject, int nAction, int nParam); +  ​* ​int RunVariableEventWithParams(object oObject, string sEvent, array aParams); 
-float GetActionParamFloat(object oObject, int nAction, int nParam); +  ​* ​array GetCurrentVariableEventParams();​ 
-object GetActionParamObject(object oObject, int nAction, int nParam); +  ​* ​int GetRemainingSpellSlots(object oCreature, int nClass, int nSpellLevel);​ 
-string GetActionParamString(object oObject, int nAction, int nParam); +  ​* ​void SetRemainingSpellSlots(object oCreature, int nClass, int nSpellLevel,​ int nSlots); 
-location GetActionParamLocation(object oObject, int nAction, int nParam); +  ​* ​int GetSpellGainWithBonus(object oCreature, int nClass, int nSpellLevel);​ 
-int GetActionInterruptable(object oObject, int nAction); +  ​* ​void JournalAddQuest(object oPlayer, string sPlotId, string sTitle, string sText, int nState, int nPriority, ​  * int bCompleted, int nCalendarDay,​ int nTimeOfDay);​ 
-void AddAction(object oObject, int nActionType,​ array aParams, int nActionGroupId=-1);​ +  ​* ​void NotifyJournalUpdated(object oPlayer, string sMesssage, int bIsQuest=TRUE,​ int bIsCompleted=FALSE);​ 
-void AddActionToFront(object oObject, int nActionType,​ array aParams, int nActionGroupId=-1);​ +  ​* ​void JournalRemoveQuest(object oPlayer, string sPlotId); 
-void AddActionAfterFront(object oObject, int nActionType,​ array aParams, int nActionGroupId=-1);​ +  ​* ​void __Spacer619__(string sPlayerName);​ 
-void ActionDoCommandToBack(action aActionToDo,​ int nActionGroupId=-1);​ +  ​* ​array GetWorldTime();​ 
-void ActionDoCommandToFront(action aActionToDo,​ int nActionGroupId=-1);​ +  ​* ​int IsProxyPlayer(object oPlayer); 
-void ActionDoCommandAfterFront(action aActionToDo,​ int nActionGroupId=-1);​ +  ​* ​int IsUsingNWSync(object oPlayer); 
-int GetCurrentActionType(object oObject); +  ​* ​string GetRemoteServerIP(object oPlayer); 
-int GetCurrentActionGroupId(object oObject); +  ​* ​int GetRemoteServerPort(object oPlayer); 
-int GetCurrentActionParamCount(object oObject); +  ​* ​void SetClassByLevel(object oPC, int nLevel, int nClass); 
-int GetCurrentActionParamType(object oObject, int nParam); +  ​* ​void SetClassByPosition(object oCreature, int nPosition, int nClass);
-int GetCurrentActionParamInt(object oObject, int nParam); +
-float GetCurrentActionParamFloat(object oObject, int nParam); +
-object GetCurrentActionParamObject(object oObject, int nParam); +
-string GetCurrentActionParamString(object oObject, int nParam); +
-location GetCurrentActionParamLocation(object oObject, int nParam); +
-int IsValidPlayerScriptObject(object oObject); +
-void RemovePlayerHouseVariables(object oObject); +
-int StartsWith(string sString, string sPrefix); +
-int RunVariableEventWithParams(object oObject, string sEvent, array aParams); +
-array GetCurrentVariableEventParams();​ +
-int GetRemainingSpellSlots(object oCreature, int nClass, int nSpellLevel);​ +
-void SetRemainingSpellSlots(object oCreature, int nClass, int nSpellLevel,​ int nSlots); +
-int GetSpellGainWithBonus(object oCreature, int nClass, int nSpellLevel);​ +
-void JournalAddQuest(object oPlayer, string sPlotId, string sTitle, string sText, int nState, int nPriority, int bCompleted, int nCalendarDay,​ int nTimeOfDay);​ +
-void NotifyJournalUpdated(object oPlayer, string sMesssage, int bIsQuest=TRUE,​ int bIsCompleted=FALSE);​ +
-void JournalRemoveQuest(object oPlayer, string sPlotId); +
-void __Spacer619__(string sPlayerName);​ +
-array GetWorldTime();​ +
-int IsProxyPlayer(object oPlayer); +
-int IsUsingNWSync(object oPlayer); +
-string GetRemoteServerIP(object oPlayer); +
-int GetRemoteServerPort(object oPlayer); +
-void SetClassByLevel(object oPC, int nLevel, int nClass); +
-void SetClassByPosition(object oCreature, int nPosition, int nClass);+
building/scripts/x_sfscript.1711279482.txt.gz · Last modified: 2024/03/24 11:24 by EternalSenenity

phpBB Appliance - Powered by TurnKey Linux