This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
building:scripts:x_sfscript [2024/03/24 11:41] EternalSenenity |
building:scripts:x_sfscript [2024/03/24 12:01] EternalSenenity |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Sinfar Custom NWNScript Functions ====== | ====== Sinfar Custom NWNScript Functions ====== | ||
- | * string GetEntireItemAppearance(object oItem); | + | |
- | * void RestoreItemAppearance(object oItem, string sAppearance); | + | * string GetEntireItemAppearance(object oItem); |
- | * object GetActionTarget(object oCreature); | + | * void RestoreItemAppearance(object oItem, string sAppearance); |
- | * void Spacer_4(); | + | * object GetActionTarget(object oCreature); |
- | * int IsPointInAreaOfEffect(object oAoE, vector vPoint); | + | * void Spacer_4(); |
- | * int TestLineWalkable(object oArea, vector vFrom, vector vTo); | + | * int IsPointInAreaOfEffect(object oAoE, vector vPoint); |
- | * int GetResExists(string sResFileName); | + | * int TestLineWalkable(object oArea, vector vFrom, vector vTo); |
- | * void AddExtraFeat(object oCreature, int nFeat); | + | * int GetResExists(string sResFileName); |
- | * void RemoveExtraFeat(object oCreature, int nFeat); | + | * void AddExtraFeat(object oCreature, int nFeat); |
- | * void ApplyExtraAbilityBonus(object oCreature, int nAbility, int nBonus); | + | * void RemoveExtraFeat(object oCreature, int nFeat); |
- | * void RestoreExtraStats(object oCreature); | + | * void ApplyExtraAbilityBonus(object oCreature, int nAbility, int nBonus); |
- | * void ApplyExtraSkillBonus(object oCreature, int nSkill, int nBonus); | + | * void RestoreExtraStats(object oCreature); |
- | * void RemoveFeatFromLevelStats(object oCreature, int nFeat, int nLevel=-1); | + | * void ApplyExtraSkillBonus(object oCreature, int nSkill, int nBonus); |
- | * int EnforceLegalCharacter(string sCharacterFile); | + | * void RemoveFeatFromLevelStats(object oCreature, int nFeat, int nLevel=-1); |
- | * int GetArmorExtraData(object oArmor, int nArmorPart, int nExtraInfo, int nInfoParam, string sVarName="XDATA"); | + | * int EnforceLegalCharacter(string sCharacterFile); |
- | * void SetArmorExtraData(object oArmor, int nArmorPart, int nExtraInfo, int nInfoParam, int nValue, string * sVarName="XDATA"); | + | * int GetArmorExtraData(object oArmor, int nArmorPart, int nExtraInfo, int nInfoParam, string sVarName="XDATA"); |
- | * float GetArmorExtraDataFloat(object oArmor, int nArmorPart, int nExtraInfo, string sVarName="XDATA"); | + | * void SetArmorExtraData(object oArmor, int nArmorPart, int nExtraInfo, int nInfoParam, int nValue, string * sVarName="XDATA"); |
- | * void SetArmorExtraDataFloat(object oArmor, int nArmorPart, int nExtraInfo, float fValue, string * sVarName="XDATA"); | + | * float GetArmorExtraDataFloat(object oArmor, int nArmorPart, int nExtraInfo, string sVarName="XDATA"); |
- | * int GetPlayerCount(); | + | * void SetArmorExtraDataFloat(object oArmor, int nArmorPart, int nExtraInfo, float fValue, string * sVarName="XDATA"); |
- | * string GetPlayerNameByListIndex(int nListIndex); | + | * int GetPlayerCount(); |
- | * object GetPlayerCharacterByListIndex(int nListIndex); | + | * string GetPlayerNameByListIndex(int nListIndex); |
- | * void BootPlayerByListIndex(int nListIndex, int nStrRef); | + | * object GetPlayerCharacterByListIndex(int nListIndex); |
- | * int GetBannedFromServers(object oPlayer); | + | * void BootPlayerByListIndex(int nListIndex, int nStrRef); |
- | * int GetSystemTime(); | + | * int GetBannedFromServers(object oPlayer); |
- | * void ShutdownServer(int nForce=0); | + | * int GetSystemTime(); |
- | * void SetTMILimit(int nLimit); | + | * void ShutdownServer(int nForce=0); |
- | * int FileDelete(string sFile); | + | * void SetTMILimit(int nLimit); |
- | * int FileRename(string sFrom, string sTo); | + | * int FileDelete(string sFile); |
- | * int GetProcessMemoryUsage(); | + | * int FileRename(string sFrom, string sTo); |
- | * int GetSinglePCPartExtraData(string sXDATA, int nExtraInfo, int nInfoParam); | + | * int GetProcessMemoryUsage(); |
- | * string SetSinglePCPartExtraData(string sXDATA, int nExtraInfo, int nInfoParam, int nValue); | + | * int GetSinglePCPartExtraData(string sXDATA, int nExtraInfo, int nInfoParam); |
- | * float GetSinglePCPartExtraDataFloat(string sXDATA, int nExtraInfo); | + | * string SetSinglePCPartExtraData(string sXDATA, int nExtraInfo, int nInfoParam, int nValue); |
- | * string SetSinglePCPartExtraDataFloat(string sXDATA, int nExtraInfo, float fValue); | + | * float GetSinglePCPartExtraDataFloat(string sXDATA, int nExtraInfo); |
- | * string SQLEncodeSpecialChars(string sToEncode); | + | * string SetSinglePCPartExtraDataFloat(string sXDATA, int nExtraInfo, float fValue); |
- | * object SQLGetObject(int nColumnIndex, location lLocation, object oOwner=OBJECT_INVALID); | + | * string SQLEncodeSpecialChars(string sToEncode); |
- | * int SQLFetch(); | + | * object SQLGetObject(int nColumnIndex, location lLocation, object oOwner=OBJECT_INVALID); |
- | * string SQLGetData(int nColumnIndex); | + | * int SQLFetch(); |
- | * int SQLGetInt(int nColumnIndex); | + | * string SQLGetData(int nColumnIndex); |
- | * float SQLGetFloat(int nColumnIndex); | + | * int SQLGetInt(int nColumnIndex); |
- | * int SQLStoreObject(string sSQL, object oObject); | + | * float SQLGetFloat(int nColumnIndex); |
- | * object SQLRetrieveObject(string sSQL, location lLocation, object oOwner=OBJECT_INVALID); | + | * int SQLStoreObject(string sSQL, object oObject); |
- | * dbresult SQLExec(string sSQL); | + | * object SQLRetrieveObject(string sSQL, location lLocation, object oOwner=OBJECT_INVALID); |
- | * string SQLQuote(string sToEncode); | + | * dbresult SQLExec(string sSQL); |
- | * void SendUDPMessage(int nPort, string sMessage); | + | * string SQLQuote(string sToEncode); |
- | * int GetLastDialogReplyTime(object oCreature); | + | * void SendUDPMessage(int nPort, string sMessage); |
- | * object GetDialogWith(object oObject); | + | * int GetLastDialogReplyTime(object oCreature); |
- | * float GetItemPropertyCostByValues(int nItemPropertyType, int nItemPropertySubType, int nItemPropertyCostTable); | + | * object GetDialogWith(object oObject); |
- | * int GetItemPropertyPPByValues(int nItemPropertyType, int nItemPropertySubType, int nItemPropertyCostTable); | + | * float GetItemPropertyCostByValues(int nItemPropertyType, int nItemPropertySubType, int nItemPropertyCostTable); |
- | * int GetItemPropertiesPP(object oItem); | + | * int GetItemPropertyPPByValues(int nItemPropertyType, int nItemPropertySubType, int nItemPropertyCostTable); |
- | * string GetItemPropertyMaterialByValues(int nItemPropertyType, int nItemPropertySubType, int nItemPropertyCostTable); | + | * int GetItemPropertiesPP(object oItem); |
- | * int Get2DARowCount(string sTableName); | + | * string GetItemPropertyMaterialByValues(int nItemPropertyType, int nItemPropertySubType, int nItemPropertyCostTable); |
- | * int Get2DAColCount(string sTableName); | + | * int Get2DARowCount(string sTableName); |
- | * string Get2DAColumnNameByIndex(string sTableName, int nColumnIndex); | + | * int Get2DAColCount(string sTableName); |
- | * string Get2DAStringByColumnIndex(string sTableName, int nColumnIndex, int nRow); | + | * string Get2DAColumnNameByIndex(string sTableName, int nColumnIndex); |
- | * int GetNext2DARowWithPrefix(string sTableName, string sColumnIndex, int nRow, string sPrefix); | + | * string Get2DAStringByColumnIndex(string sTableName, int nColumnIndex, int nRow); |
- | * void ReloadCached2DA(string sTableName); | + | * int GetNext2DARowWithPrefix(string sTableName, string sColumnIndex, int nRow, string sPrefix); |
- | * int GetNext2DARowWithValue(string sTableName, string sColumnIndex, int nRow, string sValue); | + | * void ReloadCached2DA(string sTableName); |
- | * int GetArraySize(array aArray); | + | * int GetNext2DARowWithValue(string sTableName, string sColumnIndex, int nRow, string sValue); |
- | * void DeleteArrayItem(array aArray, int nIndex); | + | * int GetArraySize(array aArray); |
- | * array CopyArray(array aToCopy); | + | * void DeleteArrayItem(array aArray, int nIndex); |
- | * void SortArray(array aToSort); | + | * array CopyArray(array aToCopy); |
- | * void AddArrayInt(array aArray, int nValue); | + | * void SortArray(array aToSort); |
- | * void SetArrayInt(array aArray, int nIndex, int nValue); | + | * void AddArrayInt(array aArray, int nValue); |
- | * int GetArrayInt(array aArray, int nIndex); | + | * void SetArrayInt(array aArray, int nIndex, int nValue); |
- | * void AddArrayFloat(array aArray, float fValue); | + | * int GetArrayInt(array aArray, int nIndex); |
- | * void SetArrayFloat(array aArray, int nIndex, float fValue); | + | * void AddArrayFloat(array aArray, float fValue); |
- | * float GetArrayFloat(array aArray, int nIndex); | + | * void SetArrayFloat(array aArray, int nIndex, float fValue); |
- | * void AddArrayObject(array aArray, object oValue); | + | * float GetArrayFloat(array aArray, int nIndex); |
- | * void SetArrayObject(array aArray, int nIndex, object oValue); | + | * void AddArrayObject(array aArray, object oValue); |
- | * object GetArrayObject(array aArray, int nIndex); | + | * void SetArrayObject(array aArray, int nIndex, object oValue); |
- | * void AddArrayString(array aArray, string sValue); | + | * object GetArrayObject(array aArray, int nIndex); |
- | * void SetArrayString(array aArray, int nIndex, string sValue); | + | * void AddArrayString(array aArray, string sValue); |
- | * string GetArrayString(array aArray, int nIndex); | + | * void SetArrayString(array aArray, int nIndex, string sValue); |
- | * void AddArrayVector(array aArray, vector vValue); | + | * string GetArrayString(array aArray, int nIndex); |
- | * void SetArrayVector(array aArray, int nIndex, vector vValue); | + | * void AddArrayVector(array aArray, vector vValue); |
- | * vector GetArrayVector(array aArray, int nIndex); | + | * void SetArrayVector(array aArray, int nIndex, vector vValue); |
- | * void AddArrayLocation(array aArray, location lValue); | + | * vector GetArrayVector(array aArray, int nIndex); |
- | * void SetArrayLocation(array aArray, int nIndex, location lValue); | + | * void AddArrayLocation(array aArray, location lValue); |
- | * location GetArrayLocation(array aArray, int nIndex); | + | * void SetArrayLocation(array aArray, int nIndex, location lValue); |
- | * void AddArrayArray(array aArray, array aValue); | + | * location GetArrayLocation(array aArray, int nIndex); |
- | * void SetArrayArray(array aArray, int nIndex, array aValue); | + | * void AddArrayArray(array aArray, array aValue); |
- | * array GetArrayArray(array aArray, int nIndex); | + | * void SetArrayArray(array aArray, int nIndex, array aValue); |
- | * void AddArrayDictionary(array aArray, dictionary dValue); | + | * array GetArrayArray(array aArray, int nIndex); |
- | * void SetArrayDictionary(array aArray, int nIndex, dictionary dValue); | + | * void AddArrayDictionary(array aArray, dictionary dValue); |
- | * dictionary GetArrayDictionary(array aArray, int nIndex); | + | * void SetArrayDictionary(array aArray, int nIndex, dictionary dValue); |
- | * string ArrayToString(array aArray, string sSeparator); | + | * dictionary GetArrayDictionary(array aArray, int nIndex); |
- | * array StringToArray(string sString, string sSeparator); | + | * string ArrayToString(array aArray, string sSeparator); |
- | * int GetDictionarySize(dictionary dDictionary); | + | * array StringToArray(string sString, string sSeparator); |
- | * void DeleteDictionaryItem(dictionary dDictionary, string sKey); | + | * int GetDictionarySize(dictionary dDictionary); |
- | * dictionary CopyDictionary(dictionary dDictionary); | + | * void DeleteDictionaryItem(dictionary dDictionary, string sKey); |
- | * array GetFirstDictionaryPair(dictionary dDictionary); | + | * dictionary CopyDictionary(dictionary dDictionary); |
- | * array GetNextDictionaryPair(dictionary dDictionary); | + | * array GetFirstDictionaryPair(dictionary dDictionary); |
- | * array GetDictionaryKeys(dictionary dDictionary); | + | * array GetNextDictionaryPair(dictionary dDictionary); |
- | * array GetDictionaryValues(dictionary dDictionary); | + | * array GetDictionaryKeys(dictionary dDictionary); |
- | * void SetDictionaryInt(dictionary dDictionary, string sKey, int nValue); | + | * array GetDictionaryValues(dictionary dDictionary); |
- | * int GetDictionaryInt(dictionary dDictionary, string sKey); | + | * void SetDictionaryInt(dictionary dDictionary, string sKey, int nValue); |
- | * void SetDictionaryFloat(dictionary dDictionary, string sKey, float fValue); | + | * int GetDictionaryInt(dictionary dDictionary, string sKey); |
- | * float GetDictionaryFloat(dictionary dDictionary, string sKey); | + | * void SetDictionaryFloat(dictionary dDictionary, string sKey, float fValue); |
- | * void SetDictionaryObject(dictionary dDictionary, string sKey, object oValue); | + | * float GetDictionaryFloat(dictionary dDictionary, string sKey); |
- | * object GetDictionaryObject(dictionary dDictionary, string sKey); | + | * void SetDictionaryObject(dictionary dDictionary, string sKey, object oValue); |
- | * void SetDictionaryString(dictionary dDictionary, string sKey, string sValue); | + | * object GetDictionaryObject(dictionary dDictionary, string sKey); |
- | * string GetDictionaryString(dictionary dDictionary, string sKey); | + | * void SetDictionaryString(dictionary dDictionary, string sKey, string sValue); |
- | * void SetDictionaryVector(dictionary dDictionary, string sKey, vector vValue); | + | * string GetDictionaryString(dictionary dDictionary, string sKey); |
- | * vector GetDictionaryVector(dictionary dDictionary, string sKey); | + | * void SetDictionaryVector(dictionary dDictionary, string sKey, vector vValue); |
- | * void SetDictionaryLocation(dictionary dDictionary, string sKey, location lValue); | + | * vector GetDictionaryVector(dictionary dDictionary, string sKey); |
- | * location GetDictionaryLocation(dictionary dDictionary, string sKey); | + | * void SetDictionaryLocation(dictionary dDictionary, string sKey, location lValue); |
- | * void SetDictionaryArray(dictionary dDictionary, string sKey, array aValue); | + | * location GetDictionaryLocation(dictionary dDictionary, string sKey); |
- | * array GetDictionaryArray(dictionary dDictionary, string sKey); | + | * void SetDictionaryArray(dictionary dDictionary, string sKey, array aValue); |
- | * void SetDictionaryDictionary(dictionary dDictionary, string sKey, dictionary dValue); | + | * array GetDictionaryArray(dictionary dDictionary, string sKey); |
- | * dictionary GetDictionaryDictionary(dictionary dDictionary, string sKey); | + | * void SetDictionaryDictionary(dictionary dDictionary, string sKey, dictionary dValue); |
- | * string TrimString(string sString); | + | * dictionary GetDictionaryDictionary(dictionary dDictionary, string sKey); |
- | * string ReplaceSubString(string sString, string sSubString, string sReplace); | + | * string TrimString(string sString); |
- | * int RegexTest(string sString, string sRegex, int bCaseInsensitive=FALSE); | + | * string ReplaceSubString(string sString, string sSubString, string sReplace); |
- | * array RegexMatch(string sString, string sRegex, int bCaseInsensitive=FALSE); | + | * int RegexTest(string sString, string sRegex, int bCaseInsensitive=FALSE); |
- | * string RegexReplace(string sString, string sRegex, string sReplacement, int bCaseInsensitive=FALSE); | + | * array RegexMatch(string sString, string sRegex, int bCaseInsensitive=FALSE); |
- | * string StringToJSON(string s); | + | * string RegexReplace(string sString, string sRegex, string sReplacement, int bCaseInsensitive=FALSE); |
- | * string StringFromJSON(string sJSON); | + | * string StringToJSON(string s); |
- | * string VectorToJSON(vector v); | + | * string StringFromJSON(string sJSON); |
- | * vector VectorFromJSON(string sJSON); | + | * string VectorToJSON(vector v); |
- | * string LocationToJSON(location l); | + | * vector VectorFromJSON(string sJSON); |
- | * location LocationFromJSON(string sJSON); | + | * string LocationToJSON(location l); |
- | * string ArrayToJSON(array a); | + | * location LocationFromJSON(string sJSON); |
- | * array ArrayFromJSON(string sJSON); | + | * string ArrayToJSON(array a); |
- | * string DictionaryToJSON(dictionary d); | + | * array ArrayFromJSON(string sJSON); |
- | * dictionary DictionaryFromJSON(string sJSON); | + | * string DictionaryToJSON(dictionary d); |
- | * void RemoveObjectFromAI(object oObject); | + | * dictionary DictionaryFromJSON(string sJSON); |
- | * void AddObjectToAI(object oObject, int nAILevel=0); | + | * void RemoveObjectFromAI(object oObject); |
- | * int GetAIObjectCount(int nAILevel); | + | * void AddObjectToAI(object oObject, int nAILevel=0); |
- | * int GetGameObjectCount(); | + | * int GetAIObjectCount(int nAILevel); |
- | * int GetSlotFromItem(object oCreature, object oItem); | + | * int GetGameObjectCount(); |
- | * void ForceEquipItem(object oCreature, object oItem, int nSlot); | + | * int GetSlotFromItem(object oCreature, object oItem); |
- | * void ForceUnequipItem(object oCreature, object oItem); | + | * void ForceEquipItem(object oCreature, object oItem, int nSlot); |
- | * void SetScript(object oObject, int nEvent, string sScriptName); | + | * void ForceUnequipItem(object oCreature, object oItem); |
- | * string GetScript(object oObject, int nEvent); | + | * void SetScript(object oObject, int nEvent, string sScriptName); |
- | * location GetDesiredLocation(object oPC); | + | * string GetScript(object oObject, int nEvent); |
- | * void ClosePlaceable(object oPlaceable); | + | * location GetDesiredLocation(object oPC); |
- | * int GetActionCount(object oObject); | + | * void ClosePlaceable(object oPlaceable); |
- | * int GetActionType(object oObject, int nAction); | + | * int GetActionCount(object oObject); |
- | * int GetItemExtraData(object oItem, int nItemPart, int nExtraInfo, int nInfoParam); | + | * int GetActionType(object oObject, int nAction); |
- | * float GetItemExtraDataFloat(object oItem, int nItemPart, int nExtraInfo); | + | * int GetItemExtraData(object oItem, int nItemPart, int nExtraInfo, int nInfoParam); |
- | * void SetItemExtraData(object oItem, int nItemPart, int nExtraInfo, int nInfoParam, int nValue); | + | * float GetItemExtraDataFloat(object oItem, int nItemPart, int nExtraInfo); |
- | * void SetItemExtraDataFloat(object oItem, int nItemPart, int nExtraInfo, float fValue); | + | * void SetItemExtraData(object oItem, int nItemPart, int nExtraInfo, int nInfoParam, int nValue); |
- | * int GetNumPlayersInArea(object oArea); | + | * void SetItemExtraDataFloat(object oItem, int nItemPart, int nExtraInfo, float fValue); |
- | * int IsPlayerCharacter(object oCreature); | + | * int GetNumPlayersInArea(object oArea); |
- | * string GetCurrentScriptName(); | + | * int IsPlayerCharacter(object oCreature); |
- | * void StartTimer(); | + | * string GetCurrentScriptName(); |
- | * string EndTimer(); | + | * void StartTimer(); |
- | * void Log(string sLogMessasge, string sPrefix=""); | + | * string EndTimer(); |
- | * array GetLoot(int nLootId, float fCR); | + | * void Log(string sLogMessasge, string sPrefix=""); |
- | * void SetUseDayNightCycle(object oArea, int bUseDayNightCycle); | + | * array GetLoot(int nLootId, float fCR); |
- | * int GetUseDayNightCycle(object oArea); | + | * void SetUseDayNightCycle(object oArea, int bUseDayNightCycle); |
- | * void SetIsNight(object oArea, int bIsNight); | + | * int GetUseDayNightCycle(object oArea); |
- | * void EndCombatRound(object oCreature); | + | * void SetIsNight(object oArea, int bIsNight); |
- | * int MemGet(object oObject, int nOffset, int nSize); | + | * void EndCombatRound(object oCreature); |
- | * void MemSet(object oObject, int nOffset, int nSize, int nValue); | + | * int MemGet(object oObject, int nOffset, int nSize); |
- | * int GetServerPort(); | + | * void MemSet(object oObject, int nOffset, int nSize, int nValue); |
- | * int GetNWNCXVersion(object oPC); | + | * int GetServerPort(); |
- | * object GetPlayerArea(object oPlayer); | + | * int GetNWNCXVersion(object oPC); |
- | * int GetNWServerInstanceCount(); | + | * object GetPlayerArea(object oPlayer); |
- | * int GetNWServerInstancePort(int nNWServerInstanceIndex=-1); | + | * int GetNWServerInstanceCount(); |
- | * string GetNWServerInstanceName(int nNWServerInstanceIndex=-1); | + | * int GetNWServerInstancePort(int nNWServerInstanceIndex=-1); |
- | * int GetNWServerInstanceSharePlayerList(int nNWServerInstanceIndex=-1); | + | * string GetNWServerInstanceName(int nNWServerInstanceIndex=-1); |
- | * int GetNWServerInstanceDefaultHakset(int nNWServerInstanceIndex=-1); | + | * int GetNWServerInstanceSharePlayerList(int nNWServerInstanceIndex=-1); |
- | * int GetCurrentServerId(); | + | * int GetNWServerInstanceDefaultHakset(int nNWServerInstanceIndex=-1); |
- | * int GetServervaultId(); | + | * int GetCurrentServerId(); |
- | * string GetServerNameById(int nServerId); | + | * int GetServervaultId(); |
- | * int GetPortFromServerId(int nServerId); | + | * string GetServerNameById(int nServerId); |
- | * int GetServerIdFromPort(int nPort); | + | * int GetPortFromServerId(int nServerId); |
- | * int ExecuteConditionalScript(string sScriptName, object oObjectSelf); | + | * int GetServerIdFromPort(int nPort); |
- | * void SetServerSetting(int nSetting, int nValue); | + | * int ExecuteConditionalScript(string sScriptName, object oObjectSelf); |
- | * void SetServerSettingString(int nSetting, string sValue); | + | * void SetServerSetting(int nSetting, int nValue); |
- | * string QuickReadGFF(string sGFFFile, string sFieldName); | + | * void SetServerSettingString(int nSetting, string sValue); |
- | * void SetDesiredLocation(object oPC, location lLocation); | + | * string QuickReadGFF(string sGFFFile, string sFieldName); |
- | * void SetLocation(object oCreature, location lLocation); | + | * void SetDesiredLocation(object oPC, location lLocation); |
- | * void SetPosition(object oObject, vector vPosition); | + | * void SetLocation(object oCreature, location lLocation); |
- | * void SetTag(object oObject, string sTag); | + | * void SetPosition(object oObject, vector vPosition); |
- | * void SetGender(object oCreature, int nGender); | + | * void SetTag(object oObject, string sTag); |
- | * void SetBABOverride(object oCreature, int nBAB); | + | * void SetGender(object oCreature, int nGender); |
- | * void SetMapNote(object oWaypoint, string sMapNote); | + | * void SetBABOverride(object oCreature, int nBAB); |
- | * object _CreateArea(string sResRef); | + | * void SetMapNote(object oWaypoint, string sMapNote); |
- | * int _DestroyArea(object oArea); | + | * object _CreateArea(string sResRef); |
- | * int GetIsInVisibleList(object oSource, object oTarget); | + | * int _DestroyArea(object oArea); |
- | * void SetCasterLevelOverride(int nCasterLevel); | + | * int GetIsInVisibleList(object oSource, object oTarget); |
- | * void SetDispelSaveOverride(int nSaveOverride); | + | * void SetCasterLevelOverride(int nCasterLevel); |
- | * int GetLastSpellCastFeat(object oCreature); | + | * void SetDispelSaveOverride(int nSaveOverride); |
- | * void SetLastSpellCastFeat(object oCreature, int nFeat); | + | * int GetLastSpellCastFeat(object oCreature); |
- | * void SetLastSpellCastClass(object oCreature, int nClass); | + | * void SetLastSpellCastFeat(object oCreature, int nFeat); |
- | * void SetLastSpellCastId(object oCreature, int nSpellId); | + | * void SetLastSpellCastClass(object oCreature, int nClass); |
- | * void SetLastSpellCastFromItem(object oCreature, int bCastFromItem); | + | * void SetLastSpellCastId(object oCreature, int nSpellId); |
- | * void SetLastMetaMagicFeat(object oObject, int nMetaMagic); | + | * void SetLastSpellCastFromItem(object oCreature, int bCastFromItem); |
- | * int GetFeatSourceClass(object oCreature, int nFeat); | + | * void SetLastMetaMagicFeat(object oObject, int nMetaMagic); |
- | * int GetLastAttackRollResult(object oCreature); | + | * int GetFeatSourceClass(object oCreature, int nFeat); |
- | * int GetLastAttackFeat(object oCreature); | + | * int GetLastAttackRollResult(object oCreature); |
- | * void SetServerSettingFloat(int nSetting, float fValue); | + | * int GetLastAttackFeat(object oCreature); |
- | * int GetDoorOpenState(object oDoor); | + | * void SetServerSettingFloat(int nSetting, float fValue); |
- | * void SetDoorOpenState(object oDoor, int nState); | + | * int GetDoorOpenState(object oDoor); |
- | * void InstantlyPauseConversation(object oDialogStarter, int bPause=TRUE); | + | * void SetDoorOpenState(object oDoor, int nState); |
- | * void SetStoreSellMarkUp(object oStore, int nMarkUp); | + | * void InstantlyPauseConversation(object oDialogStarter, int bPause=TRUE); |
- | * int GetStoreSellMarkUp(object oStore); | + | * void SetStoreSellMarkUp(object oStore, int nMarkUp); |
- | * void SetStoreBuyMarkDown(object oStore, int nMarkDown); | + | * int GetStoreSellMarkUp(object oStore); |
- | * void SetStoreBuyStolenGoods(object oStore, int bBuyStolenGoods); | + | * void SetStoreBuyMarkDown(object oStore, int nMarkDown); |
- | * int GetItemAC(object oItem); | + | * void SetStoreBuyStolenGoods(object oStore, int bBuyStolenGoods); |
- | * void SetItemAC(object oItem, int nAC); | + | * int GetItemAC(object oItem); |
- | * void ResetItemAC(object oItem); | + | * void SetItemAC(object oItem, int nAC); |
- | * void CopyVariables(object oFrom, object oTo); | + | * void ResetItemAC(object oItem); |
- | * void SetConversationInterruptable(object oCreature, int bInterruptable); | + | * void CopyVariables(object oFrom, object oTo); |
- | * int GetPlaceableAppearance(object oPlaceable); | + | * void SetConversationInterruptable(object oCreature, int bInterruptable); |
- | * void ModifyItem_NoRefresh(object oItem, int nType, int nIndex, int nNewValue); | + | * int GetPlaceableAppearance(object oPlaceable); |
- | * int GetHasSpellMemorized(object oCreature, int nSpell, int nClass); | + | * void ModifyItem_NoRefresh(object oItem, int nType, int nIndex, int nNewValue); |
- | * int GetAreaOfEffectCasterLevel(object oAoE); | + | * int GetHasSpellMemorized(object oCreature, int nSpell, int nClass); |
- | * void RemoveDoorLink(object oDoor); | + | * int GetAreaOfEffectCasterLevel(object oAoE); |
- | * void SetPlaceableStaticFlag(object oPlaceable, int bStatic); | + | * void RemoveDoorLink(object oDoor); |
- | * int GetPlaceableStaticFlag(object oPlaceable); | + | * void SetPlaceableStaticFlag(object oPlaceable, int bStatic); |
- | * void ForceAppearanceUpdate(object oCreature); | + | * int GetPlaceableStaticFlag(object oPlaceable); |
- | * void StopDialog(object oPC); | + | * void ForceAppearanceUpdate(object oCreature); |
- | * int GetDoorAppearance(object oDoor); | + | * void StopDialog(object oPC); |
- | * void SetDoorAppearance(object oDoor, int nAppearance); | + | * int GetDoorAppearance(object oDoor); |
- | * void SetAdditionalCost(object oItem, int nAddCost); | + | * void SetDoorAppearance(object oDoor, int nAppearance); |
- | * int GetAdditionalCost(object oItem); | + | * void SetAdditionalCost(object oItem, int nAddCost); |
- | * void PlayInternalAnimation(int nInternalAnimation, float fSpeed=1.0, float fDurationSeconds=0.0, object oTarget=OBJECT_SELF); | + | * int GetAdditionalCost(object oItem); |
- | * void ActionPlayInternalAnimation(int nInternalAnimation, float fSpeed=1.0, float fDurationSeconds=0.0, object oTarget=OBJECT_SELF); | + | * void PlayInternalAnimation(int nInternalAnimation, float fSpeed=1.0, float fDurationSeconds=0.0, object oTarget=OBJECT_SELF); |
- | * void ClearAllActionsOnObject(object oObject); | + | * void ActionPlayInternalAnimation(int nInternalAnimation, float fSpeed=1.0, float fDurationSeconds=0.0, object oTarget=OBJECT_SELF); |
- | * void UpdateMiniMap(object oPC); | + | * void ClearAllActionsOnObject(object oObject); |
- | * void ClearMySpellsEffects(object oCaster); | + | * void UpdateMiniMap(object oPC); |
- | * void ClearSpellsEffectsOnOthers(object oCaster); | + | * void ClearMySpellsEffects(object oCaster); |
- | * int GetUseMonkAbilities(object oCreature); | + | * void ClearSpellsEffectsOnOthers(object oCaster); |
- | * void SetStartingLocation(location lLocation); | + | * int GetUseMonkAbilities(object oCreature); |
- | * array _GetTriggerBounds(object oTrigger); | + | * void SetStartingLocation(location lLocation); |
- | * void ForceItemStackSize(object oItem, int nStackSize); | + | * array _GetTriggerBounds(object oTrigger); |
- | * void ReapplyItemPropertiesOfItemInSlot(object oCreature, int nSlot); | + | * void ForceItemStackSize(object oItem, int nStackSize); |
- | * void SetHeadItemOverrideString(object oCreature, string sItem); | + | * void ReapplyItemPropertiesOfItemInSlot(object oCreature, int nSlot); |
- | * void SetPCCreature(object oPC, object oCreature); | + | * void SetHeadItemOverrideString(object oCreature, string sItem); |
- | * void PossessFamiliar(object oPC); | + | * void SetPCCreature(object oPC, object oCreature); |
- | * void Spacer_234(); | + | * void PossessFamiliar(object oPC); |
- | * int GetAreaOfEffectSpellId(object oAOE); | + | * void Spacer_234(); |
- | * int GetAreaPVPSetting(object oArea); | + | * int GetAreaOfEffectSpellId(object oAOE); |
- | * int GetPCLike(object oPC, object oTarget); | + | * int GetAreaPVPSetting(object oArea); |
- | * void SetTauntAnimationPlayed(object oCreature, int bAnimationPlayed); | + | * int GetPCLike(object oPC, object oTarget); |
- | * string GetCreatureHeadItemOverrideString(object oCreature); | + | * void SetTauntAnimationPlayed(object oCreature, int bAnimationPlayed); |
- | * 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=""); | + | * string GetCreatureHeadItemOverrideString(object oCreature); |
- | * void RegisterEvent(string sEvent, string sScript); | + | * 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 UnregisterEvent(string sEvent, string sScript); | + | * void RegisterEvent(string sEvent, string sScript); |
- | * void BypassRegisteredEvent(); | + | * void UnregisterEvent(string sEvent, string sScript); |
- | * int GetTriggerHasPoint(object oTrigger, vector vPoint); | + | * void BypassRegisteredEvent(); |
- | * void SetLinkedToTag(object oTrigger, int nLinkType, string sTag); | + | * int GetTriggerHasPoint(object oTrigger, vector vPoint); |
- | * void SetDoorLinkedTo(object oDoor, object oTarget); | + | * void SetLinkedToTag(object oTrigger, int nLinkType, string sTag); |
- | * void SetAreaName(object oArea, string sName); | + | * void SetDoorLinkedTo(object oDoor, object oTarget); |
- | * void SendChatMessage(object oFrom, int nTalkVolume, string sMessage, object oTo=OBJECT_INVALID); | + | * void SetAreaName(object oArea, string sName); |
- | * void SendSingleChatMessage(object oFrom, int nSingleChatChannel, string sMessage, object oTo); | + | * void SendChatMessage(object oFrom, int nTalkVolume, string sMessage, object oTo=OBJECT_INVALID); |
- | * void AddChatSource(object oPC, int nVolume, string sMessage); | + | * void SendSingleChatMessage(object oFrom, int nSingleChatChannel, string sMessage, object oTo); |
- | * void AddChatTarget(int nFromPlayerId, int nToPlayerId, string sMessage); | + | * void AddChatSource(object oPC, int nVolume, string sMessage); |
- | * void ReplyToWebClient(int nPlayerId, string sReason); | + | * void AddChatTarget(int nFromPlayerId, int nToPlayerId, string sMessage); |
- | * int _AddRemotePlayer(object oCreature, int bIsDM, string sPlayerName); | + | * void ReplyToWebClient(int nPlayerId, string sReason); |
- | * void _DeleteRemotePlayer(int nPlayerId); | + | * int _AddRemotePlayer(object oCreature, int bIsDM, string sPlayerName); |
+ | * void _DeleteRemotePlayer(int nPlayerId); | ||
effect EffectVisualEffectWithXDATA(string sXDATA, int nVisualEffectId, int nMissEffect=FALSE); | effect EffectVisualEffectWithXDATA(string sXDATA, int nVisualEffectId, int nMissEffect=FALSE); | ||
- | * string GetVisualEffectXDATA(effect eVFX); | + | * string GetVisualEffectXDATA(effect eVFX); |
- | * object GetFirstSoundObjectInArea(object oArea); | + | * object GetFirstSoundObjectInArea(object oArea); |
- | * object GetNextSoundObjectInArea(object oArea); | + | * object GetNextSoundObjectInArea(object oArea); |
- | * void ReloadCustomFactionsReputations(); | + | * void ReloadCustomFactionsReputations(); |
- | * void UpdateCustomFactionsList(object oCreature); | + | * void UpdateCustomFactionsList(object oCreature); |
- | * int GetCustomFactionReputation(object oFromCreature, object oToCreature); | + | * int GetCustomFactionReputation(object oFromCreature, object oToCreature); |
- | * void LoadDMAreasPrefix(); | + | * void LoadDMAreasPrefix(); |
- | * int GetDamageResistance(object oCreature, int nDamageFlag, int bLimitedResistanceToo=FALSE); | + | * int GetDamageResistance(object oCreature, int nDamageFlag, int bLimitedResistanceToo=FALSE); |
- | * int GetDamageReductionEffectForPower(object oCreature, int nPower); | + | * int GetDamageReductionEffectForPower(object oCreature, int nPower); |
- | * int GetTotalDamageImmunity(object oCreature, int nDamType); | + | * int GetTotalDamageImmunity(object oCreature, int nDamType); |
- | * int GetConcealment(object oCreature, int nVersus); | + | * int GetConcealment(object oCreature, int nVersus); |
- | * void SendMapPinAdded(object oPC, vector vPosition, string sDescription, int nPinId); | + | * void SendMapPinAdded(object oPC, vector vPosition, string sDescription, int nPinId); |
- | * void Spacer_268(); | + | * void Spacer_268(); |
- | * void SetMapString(string sMap, string sKey, string sString); | + | * void SetMapString(string sMap, string sKey, string sString); |
- | * string GetMapString(string sMap, string sKey); | + | * string GetMapString(string sMap, string sKey); |
- | * void DeleteMapString(string sMap, string sKey); | + | * void DeleteMapString(string sMap, string sKey); |
- | * void RegisterObject(string sSet, object o); | + | * void RegisterObject(string sSet, object o); |
- | * void UnregisterObject(string sSet, object o); | + | * void UnregisterObject(string sSet, object o); |
- | * void UnregisterAllObjects(string sSet); | + | * void UnregisterAllObjects(string sSet); |
- | * void RunScriptOnAllRegisteredObjects(string sSet, string sScript); | + | * void RunScriptOnAllRegisteredObjects(string sSet, string sScript); |
- | * void SetServerCustomToken(int nToken, string sValue, object oTarget=OBJECT_SELF); | + | * void SetServerCustomToken(int nToken, string sValue, object oTarget=OBJECT_SELF); |
- | * string GetServerCustomToken(int nToken, object oTarget=OBJECT_SELF); | + | * string GetServerCustomToken(int nToken, object oTarget=OBJECT_SELF); |
- | * int GetAIEventParam1(int nEventIndex); | + | * int GetAIEventParam1(int nEventIndex); |
- | * int GetAIEventParam2(int nEventIndex); | + | * int GetAIEventParam2(int nEventIndex); |
- | * int GetAIEventType(int nEventIndex); | + | * int GetAIEventType(int nEventIndex); |
- | * string GetAIEventScriptName(int nEventIndex); | + | * string GetAIEventScriptName(int nEventIndex); |
- | * int GetAIEventCount(int nEventType=X_EVENT_ALL); | + | * int GetAIEventCount(int nEventType=X_EVENT_ALL); |
- | * object GetCreatureEncounter(object oCreature); | + | * object GetCreatureEncounter(object oCreature); |
- | * object GetBodyBagObject(object oCreature); | + | * object GetBodyBagObject(object oCreature); |
- | * void SuspendArea(object oArea); | + | * void SuspendArea(object oArea); |
- | * void WokeUpArea(object oArea); | + | * void WokeUpArea(object oArea); |
- | * object GetPlayerControlledCreature(object oPlayerGameObject); | + | * object GetPlayerControlledCreature(object oPlayerGameObject); |
- | * object GetPlayerCharacter(object oPlayerControlledCreature); | + | * object GetPlayerCharacter(object oPlayerControlledCreature); |
- | * void Spacer_289(); | + | * void Spacer_289(); |
- | * void Spacer_290(); | + | * void Spacer_290(); |
- | * object GetAIObjectByIndex(int nAILevel, int nIndex); | + | * object GetAIObjectByIndex(int nAILevel, int nIndex); |
- | * object GetGameObjectByIndex(int nIndex); | + | * object GetGameObjectByIndex(int nIndex); |
- | * object GetFirstRegisteredObject(string sSet); | + | * object GetFirstRegisteredObject(string sSet); |
- | * object GetNextRegisteredObject(); | + | * object GetNextRegisteredObject(); |
- | * object UpdateItemAppr(object oItem); | + | * object UpdateItemAppr(object oItem); |
- | * int GetTrueEffectCount(object oObject); | + | * int GetTrueEffectCount(object oObject); |
- | * effect GetTrueEffectByIndex(object oObject, int nIndex); | + | * effect GetTrueEffectByIndex(object oObject, int nIndex); |
- | * void RemoveTrueEffectByIndex(object oObject, int nIndex); | + | * void RemoveTrueEffectByIndex(object oObject, int nIndex); |
- | * float GetEffectDuration(effect e); | + | * float GetEffectDuration(effect e); |
- | * float GetItemPropertyDuration(itemproperty ip); | + | * float GetItemPropertyDuration(itemproperty ip); |
- | * float GetEffectDurationRemaining(effect e); | + | * float GetEffectDurationRemaining(effect e); |
- | * float GetItemPropertyDurationRemaining(itemproperty ip); | + | * float GetItemPropertyDurationRemaining(itemproperty ip); |
- | * int GetEffectId(effect e); | + | * int GetEffectId(effect e); |
- | * void SetEffectId(effect e, int nEffectId); | + | * void SetEffectId(effect e, int nEffectId); |
- | * int GetEffectTrueType(effect e); | + | * int GetEffectTrueType(effect e); |
- | * void SetEffectTrueType(effect e, int nEffectId); | + | * void SetEffectTrueType(effect e, int nEffectId); |
- | * int GetEffectInteger(effect e, int nIndex); | + | * int GetEffectInteger(effect e, int nIndex); |
- | * int GetItemPropertyInteger(itemproperty ip, int nIndex); | + | * int GetItemPropertyInteger(itemproperty ip, int nIndex); |
- | * void SetEffectInteger(effect e, int nIndex, int nValue); | + | * void SetEffectInteger(effect e, int nIndex, int nValue); |
- | * void SetItemPropertyInteger(itemproperty ip, int nIndex, int nValue); | + | * void SetItemPropertyInteger(itemproperty ip, int nIndex, int nValue); |
- | * int GetItemPropertySpellId(itemproperty e); | + | * int GetItemPropertySpellId(itemproperty e); |
- | * void SetEffectSpellId(effect e, int nSpellId); | + | * void SetEffectSpellId(effect e, int nSpellId); |
- | * void SetItemPropertySpellId(itemproperty ip, int nSpellId); | + | * void SetItemPropertySpellId(itemproperty ip, int nSpellId); |
- | * object GetItemPropertyCreator(itemproperty ip); | + | * object GetItemPropertyCreator(itemproperty ip); |
- | * void SetEffectCreator(effect e, object oCreator); | + | * void SetEffectCreator(effect e, object oCreator); |
- | * void SetItemPropertyCreator(itemproperty ip, object oCreator); | + | * void SetItemPropertyCreator(itemproperty ip, object oCreator); |
- | * effect EffectBonusFeat(int nFeat); | + | * effect EffectBonusFeat(int nFeat); |
- | * effect EffectIcon(int nIcon); | + | * effect EffectIcon(int nIcon); |
- | * effect EffectSetAIState(int nAIState); | + | * effect EffectSetAIState(int nAIState); |
- | * void Spacer_320(); | + | * void Spacer_320(); |
- | * void Spacer_321(); | + | * void Spacer_321(); |
- | * void Spacer_322(); | + | * void Spacer_322(); |
- | * void Spacer_323(); | + | * void Spacer_323(); |
- | * int SQLAffectedRows(); | + | * int SQLAffectedRows(); |
- | * void SetPlayerCharacterName(object oPC, string sName); | + | * void SetPlayerCharacterName(object oPC, string sName); |
- | * void SetCreatureDisplayName(object oPC, string sName); | + | * void SetCreatureDisplayName(object oPC, string sName); |
- | * void SetVisiblePlayerName(object oPlayer, string sVisibleName); | + | * void SetVisiblePlayerName(object oPlayer, string sVisibleName); |
- | * string GetVisiblePlayerName(object oPlayer); | + | * string GetVisiblePlayerName(object oPlayer); |
- | * void ReloadServerSettings(); | + | * void ReloadServerSettings(); |
- | * int GetArrayValueType(array aArray, int nIndex); | + | * int GetArrayValueType(array aArray, int nIndex); |
- | * int GetDictionaryValueType(dictionary dDictionary, string sKey); | + | * int GetDictionaryValueType(dictionary dDictionary, string sKey); |
- | * int LoadServerBoolean(string sTag, int nDefaultValue, string sDescription); | + | * int LoadServerBoolean(string sTag, int nDefaultValue, string sDescription); |
- | * int LoadServerInt(string sTag, int nDefaultValue, int nMin, int nMax, string sDescription); | + | * int LoadServerInt(string sTag, int nDefaultValue, int nMin, int nMax, string sDescription); |
- | * float LoadServerFloat(string sTag, float fDefaultValue, int nMin, int nMax, string sDescription); | + | * float LoadServerFloat(string sTag, float fDefaultValue, int nMin, int nMax, string sDescription); |
- | * string LoadServerString(string sTag, string sDefaultValue, string sDescription, int nType=SERVOPT_TYPE_TEXT); | + | * string LoadServerString(string sTag, string sDefaultValue, string sDescription, int nType=SERVOPT_TYPE_TEXT); |
- | * int GetServerInt(string sTag); | + | * int GetServerInt(string sTag); |
- | * float GetServerFloat(string sTag); | + | * float GetServerFloat(string sTag); |
- | * string GetServerString(string sTag); | + | * string GetServerString(string sTag); |
- | * void SetServerInt(string sTag, int nValue); | + | * void SetServerInt(string sTag, int nValue); |
- | * void SetServerFloat(string sTag, float fValue); | + | * void SetServerFloat(string sTag, float fValue); |
- | * void SetServerString(string sTag, string sValue); | + | * void SetServerString(string sTag, string sValue); |
- | * string GetEffectTag(effect e); | + | * string GetEffectTag(effect e); |
- | * void SetEffectTag(effect e, string sTag); | + | * void SetEffectTag(effect e, string sTag); |
- | * array GetLocalVariablesOfTypeWithPrefix(object o, int nType, string sPrefix); | + | * array GetLocalVariablesOfTypeWithPrefix(object o, int nType, string sPrefix); |
- | * int DeleteLocalVariablesOfTypeWithPrefix(object o, int nType, string sPrefix); | + | * int DeleteLocalVariablesOfTypeWithPrefix(object o, int nType, string sPrefix); |
- | * int GetLocalVariableCount(object o); | + | * int GetLocalVariableCount(object o); |
- | * array GetLocalVariableAtIndex(object o, int nIndex); | + | * array GetLocalVariableAtIndex(object o, int nIndex); |
- | * int HasLocalInt(object o, string sName); | + | * int HasLocalInt(object o, string sName); |
- | * int HasLocalString(object o, string sName); | + | * int HasLocalString(object o, string sName); |
- | * int HasLocalFloat(object o, string sName); | + | * int HasLocalFloat(object o, string sName); |
- | * int HasLocalObject(object o, string sName); | + | * int HasLocalObject(object o, string sName); |
- | * int HasLocalLocation(object o, string sName); | + | * int HasLocalLocation(object o, string sName); |
- | * string GetTilesetInformation(string sResRef, string sSection, string sEntry); | + | * string GetTilesetInformation(string sResRef, string sSection, string sEntry); |
- | * int GetQuickButtonType(object oCreature, int nButtonPosition); | + | * int GetQuickButtonType(object oCreature, int nButtonPosition); |
- | * object GetQuickButtonItem1(object oCreature, int nButtonPosition); | + | * object GetQuickButtonItem1(object oCreature, int nButtonPosition); |
- | * object GetQuickButtonItem2(object oCreature, int nButtonPosition); | + | * object GetQuickButtonItem2(object oCreature, int nButtonPosition); |
- | * int GetQuickButtonClass(object oCreature, int nButtonPosition); | + | * int GetQuickButtonClass(object oCreature, int nButtonPosition); |
- | * int GetQuickButtonMetaMagic(object oCreature, int nButtonPosition); | + | * int GetQuickButtonMetaMagic(object oCreature, int nButtonPosition); |
- | * int GetQuickButtonSpellId(object oCreature, int nButtonPosition); | + | * int GetQuickButtonSpellId(object oCreature, int nButtonPosition); |
- | * string GetQuickButtonCommand(object oCreature, int nButtonPosition); | + | * string GetQuickButtonCommand(object oCreature, int nButtonPosition); |
- | * string GetQuickButtonCommandLabel(object oCreature, int nButtonPosition); | + | * string GetQuickButtonCommandLabel(object oCreature, int nButtonPosition); |
- | * string GetQuickButtonCreatorResRef(object oCreature, int nButtonPosition); | + | * string GetQuickButtonCreatorResRef(object oCreature, int nButtonPosition); |
- | * string GetQuickButtonCreatorLabel(object oCreature, int nButtonPosition); | + | * string GetQuickButtonCreatorLabel(object oCreature, int nButtonPosition); |
- | * int GetQuickButtonAssociateType(object oCreature, int nButtonPosition); | + | * int GetQuickButtonAssociateType(object oCreature, int nButtonPosition); |
- | * object GetQuickButtonAssociate(object oCreature, int nButtonPosition); | + | * object GetQuickButtonAssociate(object oCreature, int nButtonPosition); |
- | * 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); | + | * 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 PC_GetId(object oPC); | + | * int PC_GetId(object oPC); |
- | * int PLAYER_GetId(object oPlayer); | + | * int PLAYER_GetId(object oPlayer); |
- | * int PC_Create(object oPC); | + | * int PC_Create(object oPC); |
- | * int PC_GetCurrentServer(object oPC); | + | * int PC_GetCurrentServer(object oPC); |
- | * location PC_GetSavedLocation(object oPC); | + | * location PC_GetSavedLocation(object oPC); |
- | * void PC_SetSavedLocation(object oPC, location lLocation); | + | * void PC_SetSavedLocation(object oPC, location lLocation); |
- | * int SQLGetInsertId(); | + | * int SQLGetInsertId(); |
- | * int SQLGetLastResultCode(); | + | * int SQLGetLastResultCode(); |
- | * int GetSurface(location lLocation); | + | * int GetSurface(location lLocation); |
- | * int GetAnimation(object oTarget); | + | * int GetAnimation(object oTarget); |
- | * float GetAnimationSpeed(object oTarget); | + | * float GetAnimationSpeed(object oTarget); |
- | * int GetFlatFlooted(object oCreature); | + | * int GetFlatFlooted(object oCreature); |
- | * int GetIsPolymorphed(object oCreature); | + | * int GetIsPolymorphed(object oCreature); |
- | * void _SetXPL_DontUse(int i); | + | * void _SetXPL_DontUse(int i); |
- | * int GetEventParamInt(int nParamIndex); | + | * int GetEventParamInt(int nParamIndex); |
- | * object GetEventParamObject(int nParamIndex); | + | * object GetEventParamObject(int nParamIndex); |
- | * string GetEventParamString(int nParamIndex); | + | * string GetEventParamString(int nParamIndex); |
- | * float GetEventParamFloat(int nParamIndex); | + | * float GetEventParamFloat(int nParamIndex); |
- | * effect GetEventParamEffect(int nParamIndex); | + | * effect GetEventParamEffect(int nParamIndex); |
- | * array GetEventParamArray(int nParamIndex); | + | * array GetEventParamArray(int nParamIndex); |
- | * dictionary GetEventParamDictionary(int nParamIndex); | + | * dictionary GetEventParamDictionary(int nParamIndex); |
- | * location GetEventParamLocation(int nParamIndex); | + | * location GetEventParamLocation(int nParamIndex); |
- | * vector GetEventParamVector(int nParamIndex); | + | * vector GetEventParamVector(int nParamIndex); |
- | * array GetEventParams(); | + | * array GetEventParams(); |
- | * int GetEventParamType(int nParam); | + | * int GetEventParamType(int nParam); |
- | * int GetEventParamCount(); | + | * int GetEventParamCount(); |
- | * void BypassEvent(); | + | * void BypassEvent(); |
- | * void SetEventResultInt(int nResult); | + | * void SetEventResultInt(int nResult); |
- | * void SetEventResultObject(object oResult); | + | * void SetEventResultObject(object oResult); |
- | * void SetEventResultString(string sResult); | + | * void SetEventResultString(string sResult); |
- | * void SetEventResultFloat(float fResult); | + | * void SetEventResultFloat(float fResult); |
- | * void SetEventResultEffect(effect eResult); | + | * void SetEventResultEffect(effect eResult); |
- | * void SetEventResultArray(array aResult); | + | * void SetEventResultArray(array aResult); |
- | * void SetEventResultDictionary(dictionary dResult); | + | * void SetEventResultDictionary(dictionary dResult); |
- | * void SetEventResultVector(vector vResult); | + | * void SetEventResultVector(vector vResult); |
- | * void SetEventResultLocation(location lResult); | + | * void SetEventResultLocation(location lResult); |
- | * int RunEvent(string sScript, object oTarget, array aParams); | + | * int RunEvent(string sScript, object oTarget, array aParams); |
- | * int RunEventInt(string sScript, object oTarget, array aParams); | + | * int RunEventInt(string sScript, object oTarget, array aParams); |
- | * object RunEventObject(string sScript, object oTarget, array aParams); | + | * object RunEventObject(string sScript, object oTarget, array aParams); |
- | * string RunEventString(string sScript, object oTarget, array aParams); | + | * string RunEventString(string sScript, object oTarget, array aParams); |
- | * float RunEventFloat(string sScript, object oTarget, array aParams); | + | * float RunEventFloat(string sScript, object oTarget, array aParams); |
- | * effect RunEventEffect(string sScript, object oTarget, array aParams); | + | * effect RunEventEffect(string sScript, object oTarget, array aParams); |
- | * array RunEventArray(string sScript, object oTarget, array aParams); | + | * array RunEventArray(string sScript, object oTarget, array aParams); |
dictionary RunEventDictionary(string sScript, object oTarget, array aParams); | dictionary RunEventDictionary(string sScript, object oTarget, array aParams); | ||
- | * vector RunEventVector(string sScript, object oTarget, array aParams); | + | * vector RunEventVector(string sScript, object oTarget, array aParams); |
- | * location RunEventLocation(string sScript, object oTarget, array aParams); | + | * location RunEventLocation(string sScript, object oTarget, array aParams); |
- | * void AddArrayEffect(array aArray, effect eValue); | + | * void AddArrayEffect(array aArray, effect eValue); |
- | * void SetArrayEffect(array aArray, int nIndex, effect eValue); | + | * void SetArrayEffect(array aArray, int nIndex, effect eValue); |
- | * effect GetArrayEffect(array aArray, int nIndex); | + | * effect GetArrayEffect(array aArray, int nIndex); |
- | * void SetDictionaryEffect(dictionary dDictionary, string sKey, effect eValue); | + | * void SetDictionaryEffect(dictionary dDictionary, string sKey, effect eValue); |
- | * effect GetDictionaryEffect(dictionary ddDictionary, string sKey); | + | * effect GetDictionaryEffect(dictionary ddDictionary, string sKey); |
- | * int GetCurrentNodeType(); | + | * int GetCurrentNodeType(); |
- | * int GetCurrentNodeID(); | + | * int GetCurrentNodeID(); |
- | * int GetCurrentAbsoluteNodeID(); | + | * int GetCurrentAbsoluteNodeID(); |
- | * int GetSelectedNodeID(); | + | * int GetSelectedNodeID(); |
- | * int GetSelectedAbsoluteNodeID(); | + | * int GetSelectedAbsoluteNodeID(); |
- | * string GetSelectedNodeText(int nLangID = LANGUAGE_ENGLISH, int nGender = GENDER_MALE); | + | * string GetSelectedNodeText(int nLangID = LANGUAGE_ENGLISH, int nGender = GENDER_MALE); |
- | * string GetCurrentNodeText(int nLangID = LANGUAGE_ENGLISH, int nGender = GENDER_MALE); | + | * string GetCurrentNodeText(int nLangID = LANGUAGE_ENGLISH, int nGender = GENDER_MALE); |
- | * void SetCurrentNodeText(string sText, int nLangID = LANGUAGE_ENGLISH, int nGender = GENDER_MALE); | + | * void SetCurrentNodeText(string sText, int nLangID = LANGUAGE_ENGLISH, int nGender = GENDER_MALE); |
- | * int GetKnowsFeat(object oCreature, int nFeat); | + | * int GetKnowsFeat(object oCreature, int nFeat); |
- | * int GetDamageImmunity(object oObject, int nDamageType); | + | * int GetDamageImmunity(object oObject, int nDamageType); |
- | * void SetAbilityScore(object oCreature, int nAbility, int nValue); | + | * void SetAbilityScore(object oCreature, int nAbility, int nValue); |
- | * void ClosePlayerStore(object oPlayer); | + | * void ClosePlayerStore(object oPlayer); |
- | * void SetSkillRank(object oCreature, int nSkill, int nValue); | + | * void SetSkillRank(object oCreature, int nSkill, int nValue); |
- | * int GetACNaturalBase(object oCreature); | + | * int GetACNaturalBase(object oCreature); |
- | * void SetACNaturalBase(object oCreature, int nValue); | + | * void SetACNaturalBase(object oCreature, int nValue); |
- | * void AddKnownFeat(object oCreature, int nFeat, int nLevel=-1); | + | * void AddKnownFeat(object oCreature, int nFeat, int nLevel=-1); |
- | * void RemoveKnownFeat(object oCreature, int nFeat, int nLevel=-1); | + | * void RemoveKnownFeat(object oCreature, int nFeat, int nLevel=-1); |
- | * int GetTotalKnownFeats(object oCreature, int nLevel=-1); | + | * int GetTotalKnownFeats(object oCreature, int nLevel=-1); |
- | * int GetKnownFeatByIndex(object oCreature, int nFeatIndex, int nLevel=-1); | + | * int GetKnownFeatByIndex(object oCreature, int nFeatIndex, int nLevel=-1); |
- | * int GetFeatRemainingUses(object oCreature, int nFeat); | + | * int GetFeatRemainingUses(object oCreature, int nFeat); |
- | * int GetFeatTotalUses(object oCreature, int nFeat); | + | * int GetFeatTotalUses(object oCreature, int nFeat); |
- | * int GetIsClassBonusFeat(int nClass, int nFeat); | + | * int GetIsClassBonusFeat(int nClass, int nFeat); |
- | * int GetIsClassGeneralFeat(int nClass, int nFeat); | + | * int GetIsClassGeneralFeat(int nClass, int nFeat); |
- | * int GetIsClassGrantedFeat(int nClass, int nFeat); | + | * int GetIsClassGrantedFeat(int nClass, int nFeat); |
int GetIsClassSkill(int nClass, int nSkill); | int GetIsClassSkill(int nClass, int nSkill); | ||
int GetClassByLevel(object oCreature, int nLevel); | int GetClassByLevel(object oCreature, int nLevel); |