Advertisement
DarthGizka

nwscript.nss for DAO

Nov 16th, 2014
442
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 92.29 KB | None | 0 0
  1. // nwscript.nss for DAO PC v1.05 (script.ldf as per patch.003)
  2. // 2014-08-03 12:06:49 D:\DEV\FUN\DAO\TEST\MAKE_NWSCRIPT_NSS.FXP
  3. //
  4. // Some types - any, function, resource, arrays - had to be replaced with something else
  5. // in order to make the script.ldf declarations palatable for nwnnsscomp. Default values
  6. // where stripped since nwnnsscomp ignores them anyway. The parameters were kept for the
  7. // benefit of other tools. Five of the engine structures haven't been identified yet.
  8.  
  9. #define ENGINE_NUM_STRUCTURES 10
  10. #define ENGINE_STRUCTURE_0 event
  11. #define ENGINE_STRUCTURE_1 location
  12. #define ENGINE_STRUCTURE_2 command
  13. #define ENGINE_STRUCTURE_3 effect
  14. #define ENGINE_STRUCTURE_4 engine4
  15. #define ENGINE_STRUCTURE_5 player
  16. #define ENGINE_STRUCTURE_6 engine6
  17. #define ENGINE_STRUCTURE_7 engine7
  18. #define ENGINE_STRUCTURE_8 engine8
  19. #define ENGINE_STRUCTURE_9 engine9
  20.  
  21. /*000*/ void PrintInteger (int nInteger, int bPrepend);
  22. /*001*/ void PrintFloat (float fFloat, int nWidth, int nDecimals, int bPrepend);
  23. /*002*/ void PrintString (string sString, int bPrepend);
  24. /*003*/ void PrintObject (object oObject, int bPrepend);
  25. /*004*/ void PrintVector (vector vVector, int bPrepend);
  26. /*005*/ void PrintToLog (string sMessage);
  27. /*006*/ void AssignFunction (object oTarget, action fnFunction); // not declared in script.ldf (patch.003): COMMAND_ASSIGNFUNCTION
  28. /*007*/ void DelayFunction (float fSeconds, action fnFunction); // not declared in script.ldf (patch.003): COMMAND_DELAYFUNCTION
  29. /*008*/ void Deprecated_ExecuteScript (string rScript, object oTarget);
  30. /*009*/ string GetM2DAString (int n2DA, string sColumn, int nRow, string s2DA);
  31. /*00A*/ void _unimplemented_action_000A ( ); // == NULL
  32. /*00B*/ int GetM2DARows (int n2DA, string s2DA);
  33. /*00C*/ int GetM2DAColumns (int n2DA);
  34. /*00D*/ string GetM2DAResource (int n2DA, string sColumn, int nRow, string s2da);
  35. /*00E*/ string GetTlkTableString (int nStrRef, int nGender);
  36. /*00F*/ int GetGameDifficulty ( );
  37. /*010*/ void DebugSpawnScriptDebugger ( );
  38. /*011*/ float GetFacing (object oTarget, int bMirrorYAxis);
  39. /*012*/ void SetFacing (object oTarget, float fFacing, int bMirrorYAxis);
  40. /*013*/ effect Effect (int nType);
  41. /*014*/ command GetPreviousCommand (object oObject);
  42. /*015*/ vector GetPosition (object oTarget);
  43. /*016*/ void SetPosition (object oObject, vector vPosition, int bSafePosition);
  44. /*017*/ void SetFacingPosition (object oObject, vector vPosition);
  45. /*018*/ void SetFacingObject (object oObject, object oTarget, int bInvert);
  46. /*019*/ int Random (int nMaxInteger);
  47. /*01A*/ int abs (int nValue);
  48. /*01B*/ float fabs (float fValue);
  49. /*01C*/ float cos (float fValue);
  50. /*01D*/ float sin (float fValue);
  51. /*01E*/ float tan (float fValue);
  52. /*01F*/ float acos (float fValue);
  53. /*020*/ float asin (float fValue);
  54. /*021*/ float atan (float fValue);
  55. /*022*/ float log (float fValue);
  56. /*023*/ float pow (float fValue, float fExponent);
  57. /*024*/ float sqrt (float fValue);
  58. /*025*/ float GetDistanceBetween (object oObjectA, object oObjectB);
  59. /*026*/ float GetDistanceBetweenLocations (location lLocationA, location lLocationB);
  60. /*027*/ int IsInTrigger (object oObject, object oTrigger);
  61. /*028*/ int IsVectorEmpty (vector vVector);
  62. /*029*/ vector Vector (float x, float y, float z);
  63. /*02A*/ float GetVectorMagnitude (vector vVector);
  64. /*02B*/ vector GetVectorNormalize (vector vVector);
  65. /*02C*/ vector AngleToVector (float fAngle);
  66. /*02D*/ float VectorToAngle (vector vVector);
  67. /*02E*/ int CheckLineOfSightObject (object oSource, object oTarget);
  68. /*02F*/ int CheckLineOfSightVector (vector vSource, vector vTarget);
  69. /*030*/ float IntToFloat (int nInteger);
  70. /*031*/ int FloatToInt (float fFloat);
  71. /*032*/ string IntToString (int nInteger);
  72. /*033*/ int StringToInt (string sNumber);
  73. /*034*/ string FloatToString (float fFloat, int nWidth, int nDecimals);
  74. /*035*/ float StringToFloat (string sNumber);
  75. /*036*/ string ObjectToString (object oObject);
  76. /*037*/ string VectorToString (vector vVector);
  77. /*038*/ vector StringToVector (string sString);
  78. /*039*/ string IntToHexString (int nInteger);
  79. /*03A*/ int HexStringToInt (string sString); // == 51 (033) COMMAND_STRINGTOINT
  80. /*03B*/ int CharToInt (string sString);
  81. /*03C*/ string IntToChar (int nInteger);
  82. /*03D*/ float FeetToMeters (float fFeet);
  83. /*03E*/ float YardsToMeters (float fYards);
  84. /*03F*/ int GetLocalInt (object oObject, string sVarName);
  85. /*040*/ void SetLocalInt (object oObject, string sVarName, int nValue);
  86. /*041*/ void _unimplemented_action_0041 ( ); // == NULL
  87. /*042*/ float GetLocalFloat (object oObject, string sVarName);
  88. /*043*/ void SetLocalFloat (object oObject, string sVarName, float fValue);
  89. /*044*/ void _unimplemented_action_0044 ( ); // == NULL
  90. /*045*/ string GetLocalString (object oObject, string sVarName);
  91. /*046*/ void SetLocalString (object oObject, string sVarName, string sValue);
  92. /*047*/ void _unimplemented_action_0047 ( ); // == NULL
  93. /*048*/ object GetLocalObject (object oObject, string sVarName);
  94. /*049*/ void SetLocalObject (object oObject, string sVarName, object oValue);
  95. /*04A*/ void _unimplemented_action_004A ( ); // == NULL
  96. /*04B*/ location GetLocalLocation (object oObject, string sVarName);
  97. /*04C*/ void SetLocalLocation (object oObject, string sVarName, location lValue);
  98. /*04D*/ void _unimplemented_action_004D ( ); // == NULL
  99. /*04E*/ player GetLocalPlayer (object oObject, string sVarName);
  100. /*04F*/ void SetLocalPlayer (object oObject, string sVarName, player pPlayer);
  101. /*050*/ void _unimplemented_action_0050 ( ); // == NULL
  102. /*051*/ void DEBUG_PrintToScreen (string sString, int nPosFromTop, float fLife);
  103. /*052*/ void PrintToLogWindow (string sString, string sLogType);
  104. /*053*/ object GetParty (object oCreature);
  105. /*054*/ event GetLocalEvent (object oObject, string sVarName);
  106. /*055*/ void SetLocalEvent (object oObject, string sVarName, event evEvent);
  107. /*056*/ void _unimplemented_action_0056 ( ); // == NULL
  108. /*057*/ command GetLocalCommand (object oObject, string sVarName);
  109. /*058*/ void SetLocalCommand (object oObject, string sVarName, command cCommand);
  110. /*059*/ void _unimplemented_action_0059 ( ); // == NULL
  111. /*05A*/ effect GetLocalEffect (object oObject, string sVarName);
  112. /*05B*/ void SetLocalEffect (object oObject, string sVarName, effect eEffect);
  113. /*05C*/ void _unimplemented_action_005C ( ); // == NULL
  114. /*05D*/ void _unimplemented_action_005D ( ); // == NULL // itemproperty GetLocalItemProperty( object oObject, string sVarName );
  115. /*05E*/ void _unimplemented_action_005E ( ); // == NULL // void SetLocalItemProperty( object oObject, string sVarName, itemproperty iItemProperty
  116. /*05F*/ void _unimplemented_action_005F ( ); // == NULL
  117. /*060*/ int GetStringLength (string sString);
  118. /*061*/ string StringUpperCase (string sString);
  119. /*062*/ string StringLowerCase (string sString);
  120. /*063*/ string StringRight (string sString, int nCount);
  121. /*064*/ string StringLeft (string sString, int nCount);
  122. /*065*/ string InsertString (string sDestination, string sString, int nPosition);
  123. /*066*/ string SubString (string sString, int nStart, int nCount);
  124. /*067*/ int FindSubString (string sString, string sSubString, int nStart);
  125. /*068*/ int IsStringEmpty (string sString);
  126. /*069*/ void SignalEvent (object oObject, event evEvent, int bProcessImmediate);
  127. /*06A*/ event Event (int nEventType);
  128. /*06B*/ int IsEventValid (event evEvent);
  129. /*06C*/ event GetCurrentEvent ( );
  130. /*06D*/ object GetEventCreator (event evEvent);
  131. /*06E*/ event SetEventCreator (event evEvent, object oCreator);
  132. /*06F*/ int GetEventType (event evEvent);
  133. /*070*/ event SetEventType (event evEvent, int nType);
  134. /*071*/ int GetEventInteger (event evEvent, int nIndex);
  135. /*072*/ event SetEventInteger (event evEvent, int nIndex, int nValue);
  136. /*073*/ float GetEventFloat (event evEvent, int nIndex);
  137. /*074*/ event SetEventFloat (event evEvent, int nIndex, float fValue);
  138. /*075*/ object GetEventObject (event evEvent, int nIndex);
  139. /*076*/ event SetEventObject (event evEvent, int nIndex, object oValue);
  140. /*077*/ string GetEventString (event evEvent, int nIndex);
  141. /*078*/ event SetEventString (event evEvent, int nIndex, string sValue);
  142. /*079*/ void HandleEvent (event evEvent, string rScriptName);
  143. /*07A*/ void SetEventScript (object oObject, string rScriptName);
  144. /*07B*/ void EnablevEvent (object oObject, int bEnable, int nEventType);
  145. /*07C*/ void RegisterEventListener (object oTarget, object oListener, int nEventType);
  146. /*07D*/ void UnregisterEventListener (object oTarget, object oListener, int nEventType);
  147. /*07E*/ object GetEventTarget (event evEvent);
  148. /*07F*/ object GetNearestObjectByHostility (object oObject, int nHostility, int nObjectType, int nNumberOfObjects, int nCheckLiving, int nCheckPerceived, int nIncludeSelf);
  149. /*080*/ void DelayEvent (float fSeconds, object oObject, event evEvent, string scriptname);
  150. /*081*/ int IsFollower (object oCreature);
  151. /*082*/ void PrintToLogAndFlush (string sLogEntry);
  152. /*083*/ location GetEventLocation (event evEvent, int nIndex);
  153. /*084*/ event SetEventLocation (event evEvent, int nIndex, location lLocation);
  154. /*085*/ void HandleEvent_String (event evEvent, string sName);
  155. /*086*/ float GetItemAttackRating (object oItem);
  156. /*087*/ int GetBaseItemType (object oItem);
  157. /*088*/ int GetItemMaterialType (object oItem);
  158. /*089*/ void SetItemMaterialType (object oItem, int nMaterialType);
  159. /*08A*/ float GetM2DAFloat (int n2DA, string sColumn, int nRow, string s2DA);
  160. /*08B*/ void RemoveEffectsByCreator (object oCreator, int nAbilityID);
  161. /*08C*/ void SetObjectActive (object oObject, int nActive, int nAnimation, int nVFX);
  162. /*08D*/ int GetObjectActive (object oObject);
  163. /*08E*/ void _unimplemented_action_008E ( ); // == NULL
  164. /*08F*/ void LogTrace (int nChannel, string sLogEntry, object oTarget);
  165. /*090*/ void SetFollowerSubState (object oCreature, int nSubState);
  166. /*091*/ string GetCurrentScriptName ( );
  167. /*092*/ int IsFollowerLocked (object oCreature);
  168. /*093*/ void SetFollowerLocked (object oCreature, int bLocked);
  169. /*094*/ void Engine_ApplyEffectOnParty (int nDurationType, effect eEffect, float fDuration, object oCreator, int nAbilityId, int bExcludeCreator);
  170. /*095*/ string ToString (int anyData);
  171. /*096*/ int GetAppearanceType (object oCreature);
  172. /*097*/ void SetPlaceableActionResult (object oPlaceable, int nAction, int bSuccess, int bVariation);
  173. /*098*/ int GetPlaceableAction (object oPlaceable);
  174. /*099*/ int GetPlaceableBaseType (object oPlaceable);
  175. /*09A*/ int GetPlaceableAutoRemoveKey (object oPlaceable);
  176. /*09B*/ int GetPlaceableKeyRequired (object oPlaceable);
  177. /*09C*/ string GetPlaceableKeyTag (object oPlaceable);
  178. /*09D*/ int GetPlaceablePickLockLevel (object oPlaceable);
  179. /*09E*/ command CommandSheatheWeapons ( );
  180. /*09F*/ command CommandUnsheatheWeapons ( ); // == 158 (09E) COMMAND_COMMANDSHEATHEWEAPONS
  181. /*0A0*/ int GetWeaponsUnsheathedStatus (object oCreature); // == 141 (08D) COMMAND_GETACTIVE
  182. /*0A1*/ float GetAngleBetweenObjects (object oObjectA, object oObjectB);
  183. /*0A2*/ command CommandSwitchWeaponSet (int nWeaponSet);
  184. /*0A3*/ void _unimplemented_action_00A3 ( ); // == NULL
  185. /*0A4*/ int IsPerceivingHostiles (object oCreature); // == 141 (08D) COMMAND_GETACTIVE
  186. /*0A5*/ int IsPartyPerceivingHostiles (object oCreature); // == 141 (08D) COMMAND_GETACTIVE
  187. /*0A6*/ int TriggerPerception (object oPerceivingCreature, object oPerceivedCreature);
  188. /*0A7*/ int GetActiveWeaponSet (object oObject);
  189. /*0A8*/ object GetMainControlled ( );
  190. /*0A9*/ object GetPerceivedCreatureList (object oCreature, int bHostile);
  191. /*0AA*/ int IsPerceiving (object oidA, object oidB);
  192. /*0AB*/ int GetItemHeraldry (object oItem);
  193. /*0AC*/ void SetItemHeraldry (object oItem, int nHeraldry);
  194. /*0AD*/ void PlayMovie (string rMovie);
  195. /*0AE*/ void SendToRunDatabase (string sString);
  196. /*0AF*/ void SendGameEventRunDatabase (int nEventId, object oidObject, object oidTarget, int nParam1, int nParam2, string sParam1, string sParam2, string sType);
  197. /*0B0*/ int GetLowResTimer ( );
  198. /*0B1*/ int GetHasEffects (object oObject, int nEffectType, int nAbilityId);
  199. /*0B2*/ void SetAppearanceType (object oCreature, int nApperanceId, int bSetAsOriginal);
  200. /*0B3*/ string GetStringByStringId (int nId);
  201. /*0B4*/ object GetItemsInInventory (object oObject, int nGetItemsOptions, int nBaseItemType, string sTagFilter, int bIgnorePlotItems);
  202. /*0B5*/ int GetPlotFlagRewardId (string strPlot, int nFlag);
  203. /*0B6*/ void SetSoundSet (object oTarget, string sSoundSet);
  204. /*0B7*/ int GetCreatureRank (object oCreature);
  205. /*0B8*/ int GetCanDiePermanently (object oidCreature);
  206. /*0B9*/ void EnableWeaponTrail (object oCreature, int bEnable);
  207. /*0BA*/ location GetVisualEffectLocation (effect eVFX);
  208. /*0BB*/ void SetObjectAlwaysVisible (object oObject, int bAlwaysVisible);
  209. /*0BC*/ void ToggleGamePause (int bPause);
  210. /*0BD*/ int GetAutoPauseCombatStatus ( );
  211. /*0BE*/ int GetItemAbilityId (object oItem); // == 141 (08D) COMMAND_GETACTIVE
  212. /*0BF*/ void SetItemAbilityId (object oItem, int nAbilityId, int nPower);
  213. /*0C0*/ int GetEffectsFlags (object oOwner); // == 141 (08D) COMMAND_GETACTIVE
  214. /*0C1*/ object FireProjectile (int nType, vector vSourcePosition, vector vTargetPosition, int nCrustEffectId, int bWideAngle, object oEventTarget);
  215. /*0C2*/ void SetCooldown (object oCreature, int nAbilityId, float fCooldownTime, string sSourceItemTag);
  216. /*0C3*/ float GetRemainingCooldown (object oCreature, int nAbilityId, string sSourceItemTag);
  217. /*0C4*/ void PlayAdditiveAnimation (object nObjectId, int nAnimation, int bForceRestart);
  218. /*0C5*/ object FilterObjectsInShape (object aObjects, int nObjectTypeMask, int nShapeId, location lLocation, float fA, float fB, float fC, int bExcludeDead);
  219. /*0C6*/ float GetThreatValueByObjectID (object oCreature, object oEnemy);
  220. /*0C7*/ float GetThreatValueByIndex (object oCreature, int i);
  221. /*0C8*/ object GetThreatEnemy (object oCreature, int i);
  222. /*0C9*/ int GetThreatTableSize (object oCreature);
  223. /*0CA*/ void ClearThreatTable (object oCreature);
  224. /*0CB*/ void ClearEnemyThreat (object oCreature, object oEnemy);
  225. /*0CC*/ void UpdateThreatTable (object oCreature, object oEnemy, float fThreatChange);
  226. /*0CD*/ object GetCreaturesInMeleeRing (object nRingOwnerId, float fStartAngle, float fEndAngle, int bOnlyHostiles, int nRingIndex);
  227. /*0CE*/ int IsObjectValid (object oObject);
  228. /*0CF*/ int GetObjectType (object oObject);
  229. /*0D0*/ string GetResRef (object oObject);
  230. /*0D1*/ string GetTag (object oObject);
  231. /*0D2*/ void SetTag (object oObject, string sTag);
  232. /*0D3*/ object GetObjectByTag (string sTag, int nNth);
  233. /*0D4*/ object CreateItemOnObject (string rItemFileName, object oTarget, int nStackSize, string sTag, int bSuppressNotification, int bDroppable);
  234. /*0D5*/ int CreatePool (string rTemplate, int nPoolSize);
  235. /*0D6*/ void DestroyObject (object oObject, int nDelay);
  236. /*0D7*/ int IsDestroyable (object oObject);
  237. /*0D8*/ void SetDestroyable (object oObject, int bDestroyable);
  238. /*0D9*/ int IsPlot (object oObject);
  239. /*0DA*/ void SetPlot (object oObject, int bPlot);
  240. /*0DB*/ int IsImmortal (object oObject);
  241. /*0DC*/ void Engine_SetImmortal (object oObject, int bImmortal);
  242. /*0DD*/ int GetAILevel (object oObject);
  243. /*0DE*/ void SetAILevel (object oObject, int nAILevel);
  244. /*0DF*/ object GetArea (object oObject);
  245. /*0E0*/ object GetModule ( );
  246. /*0E1*/ void _unimplemented_action_00E1 ( ); // == NULL
  247. /*0E2*/ int IsItemIdentified (object oItem, int nProperty); // not declared in script.ldf (patch.003): COMMAND_ISITEMIDENTIFIED
  248. /*0E3*/ void SetItemIdentified (object oItem, int nProperty, int bIdentified); // == 226 (0E2) COMMAND_ISITEMIDENTIFIED not declared in script.ldf (patch.003): COMMAND_SETITEMIDEN
  249. /*0E4*/ int GetIdentifyLoreDifficulty ( ); // == 226 (0E2) COMMAND_ISITEMIDENTIFIED not declared in script.ldf (patch.003): COMMAND_GETITEMIDEN
  250. /*0E5*/ void SetIdentifyLoreDifficulty ( ); // == 226 (0E2) COMMAND_ISITEMIDENTIFIED not declared in script.ldf (patch.003): COMMAND_SETITEMIDEN
  251. /*0E6*/ void RestoreObject ( ); // == 226 (0E2) COMMAND_ISITEMIDENTIFIED not declared in script.ldf (patch.003): COMMAND_RESTOREOBJE
  252. /*0E7*/ int GetCreatureStealthMode ( ); // == 226 (0E2) COMMAND_ISITEMIDENTIFIED not declared in script.ldf (patch.003): COMMAND_GETCREATURE
  253. /*0E8*/ int IsCreatureSkillSuccessful ( ); // == 226 (0E2) COMMAND_ISITEMIDENTIFIED not declared in script.ldf (patch.003): COMMAND_ISCREATURES
  254. /*0E9*/ int GetHealth (object oObject);
  255. /*0EA*/ void SetPlaceableHealth (object oPlc, int nHealth);
  256. /*0EB*/ int Deprecated_GetMaxHealth (object oObject);
  257. /*0EC*/ void SetMaxHealth (object oObject, int nHealth);
  258. /*0ED*/ int IsDead (object oObject);
  259. /*0EE*/ int GetCreatureStamina (object oCreature);
  260. /*0EF*/ void SetCreatureStamina (object oCreature, int nStamina);
  261. /*0F0*/ int GetCreatureMaxStamina (object oCreature);
  262. /*0F1*/ void SetCreatureMaxStamina (object oCreature, int nMaxStamina);
  263. /*0F2*/ int GetCreatureMana (object oCreature); // == 238 (0EE) COMMAND_GETCREATURESTAMINA
  264. /*0F3*/ void SetCreatureMana (object oCreature, int nMana); // == 239 (0EF) COMMAND_SETCREATURESTAMINA
  265. /*0F4*/ int GetCreatureMaxMana (object oCreature); // == 240 (0F0) COMMAND_GETCREATUREMAXSTAMINA
  266. /*0F5*/ void SetCreatureMaxMana (object oCreature, int nMaxMana); // == 241 (0F1) COMMAND_SETCREATUREMAXSTAMINA
  267. /*0F6*/ command CommandDeathBlow (object oTarget, int nDeathType);
  268. /*0F7*/ void _unimplemented_action_00F7 ( ); // == NULL
  269. /*0F8*/ int GetCreatureAttribute (object oCreature, int nAttribute, int nValueType);
  270. /*0F9*/ int HasSpell (object oObject, int nSpell); // == NULL
  271. /*0FA*/ void AddSpell (object oObject, int nSpell); // == NULL
  272. /*0FB*/ void RemoveSpell (object oObject, int nSpell); // == NULL
  273. /*0FC*/ int HasAbility (object oCreature, int nAbility);
  274. /*0FD*/ void AddAbility (object oObject, int nAbility, int bSendNotification); // == 252 (0FC) COMMAND_GETHASABILITY
  275. /*0FE*/ void RemoveAbility (object oObject, int nAbility); // == 252 (0FC) COMMAND_GETHASABILITY
  276. /*0FF*/ int GetCreatureSkillRank (object oCreature, int nSkill); // == NULL
  277. /*100*/ int SetCreatureSkillRank (object oCreature, int nSkill, int nSkillRank); // == NULL
  278. /*101*/ void SetCreatureXP (object oCreature, int nXP); // == NULL
  279. /*102*/ int GetCreatureXP (object oCreature); // == NULL
  280. /*103*/ void AddCreatureXP (object oCreature, int nXP); // == NULL
  281. /*104*/ void RemoveCreatureXP (object oCreature, int nXP); // == NULL
  282. /*105*/ int GetCreatureAlignment (object oCreature); // == NULL
  283. /*106*/ void SetCreatureAlignment (object oCreature, int nAlignment); // == NULL
  284. /*107*/ int GetCreatureGender (object oCreature);
  285. /*108*/ void SetCreatureGender (object oCreature, int nGender);
  286. /*109*/ int GetCreatureSize (object oCreature); // == NULL
  287. /*10A*/ void SetCreatureSize (object oCreature, int nSize); // == NULL
  288. /*10B*/ int GetCreatureSpeed (object oCreature); // == NULL
  289. /*10C*/ void SetCreatureSpeed (object oCreature, int nSpeed); // == NULL
  290. /*10D*/ int GetCreatureRacialType (object oCreature);
  291. /*10E*/ void SetCreatureRacialType (object oCreature, int nRacialType);
  292. /*10F*/ int GetCreatureAge (object oCreature); // == NULL
  293. /*110*/ void SetCreatureAge (object oCreature, int nAge); // == NULL
  294. /*111*/ void SwitchWeaponSet (object oObject, int nWeaponSet);
  295. /*112*/ void SetCreatureAppearance (object oCreature, int nAppearance); // == NULL
  296. /*113*/ string GetName (object oidObject);
  297. /*114*/ void SetName (object oObject, string sName);
  298. /*115*/ string GetRandomName ( ); // == NULL
  299. /*116*/ int GetAreaProperties (int nProperty); // == NULL
  300. /*117*/ void _unimplemented_action_0117 ( ); // == NULL
  301. /*118*/ object GetAreaOfEffectCreator (object oAreaOfEffect); // == NULL
  302. /*119*/ int GetPlaceableOpenState (object oPlaceable); // == NULL
  303. /*11A*/ int IsPlaceableUseable (object oPlaceable); // == NULL
  304. /*11B*/ void SetPlaceableUseable (object oPlaceable, int bUseable); // == NULL
  305. /*11C*/ int IsPlaceableContainer (object oPlaceable); // == NULL
  306. /*11D*/ void SetPlaceableContainer (object oPlaceable, int bContainer); // == NULL
  307. /*11E*/ int GetPlaceableState (object oPlaceable);
  308. /*11F*/ void SetPlaceableState (object oPlaceable, int nState);
  309. /*120*/ location GetTransitionTarget (object oPlaceable); // == NULL
  310. /*121*/ void SetTransitionTarget (object oPlaceable, location lLocation); // == NULL
  311. /*122*/ int IsDoorCommandPossible (object oPlaceable); // == NULL
  312. /*123*/ int GetItemValue (object oItem);
  313. /*124*/ int GetItemType (object oItem); // == NULL
  314. /*125*/ int GetItemDefenseValue (object oItem); // == NULL
  315. /*126*/ int IsWeaponRanged (object oItem); // == NULL
  316. /*127*/ int IsItemDroppable (object oItem); // == 141 (08D) COMMAND_GETACTIVE
  317. /*128*/ void SetItemDroppable (object oItem, int bDroppable);
  318. /*129*/ int IsItemStolen (object oItem); // == NULL
  319. /*12A*/ void SetItemStolen (object oItem, int bStolen); // == NULL
  320. /*12B*/ int GetMaxItemStackSize (object oItem);
  321. /*12C*/ int GetItemStackSize (object oItem); // == 299 (12B) COMMAND_GETMAXITEMSTACKSIZE
  322. /*12D*/ void SetItemStackSize (object oItem, int nStackSize);
  323. /*12E*/ int HasItemProperty (object oItem, int nItemProperty); // == NULL
  324. /*12F*/ void AddItemProperty (object oItem, int nProperty, int nPower);
  325. /*130*/ void RemoveItemProperty (object oItem, int nProperty);
  326. /*131*/ float GetItemStat (object oItem, int nStatType);
  327. /*132*/ object CreateObject (int nObjectType, string rTemplate, location lLoc, string sOverrideScript, int bSpawnActive, int bNoPermDeath);
  328. /*133*/ void SetLocName (object oObject, int nStringIndex);
  329. /*134*/ string GetCurrentScriptResource ( );
  330. /*135*/ void OpenFadeMap ( );
  331. /*136*/ void ShowTutorial (int nTutorialID);
  332. /*137*/ void SetPartyPickerGUIStatus (int nStatus);
  333. /*138*/ int GetPartyPickerGUIStatus ( );
  334. /*139*/ int GetStoreMarkDown (object oStore);
  335. /*13A*/ void SetStoreMarkDown (object oStore, int nMarkDown);
  336. /*13B*/ int GetCreatureTreasureCategory (object oCreature);
  337. /*13C*/ int GetItemProperties (object oItem, int bIncludeSubItems);
  338. /*13D*/ int GetPackage (object oCreature);
  339. /*13E*/ int GetPackageAI (object oCreature);
  340. /*13F*/ void SetTacticEntry (object oCreature, int nIndex, int nEnabled, int nTargetType, int nCondition, int nCommandType, int nCommandParam);
  341. /*140*/ void CharGen_ClearAbilityList (object oCreature, int nAbilityType);
  342. /*141*/ void SetDeathHint (int nDeathHint, int n2DAReference);
  343. /*142*/ void SetLoadHint (int nLoadHint, int n2DAReference);
  344. /*143*/ void ShowPopup (int nMessageStrRef, int nPopupType, object oOwner, int bShowInputField, int nDefaultInputStrRef);
  345. /*144*/ void AdjustFollowerApproval (object oFollower, int nAmount, int bNotify);
  346. /*145*/ void SetClassRank (object oCreature, int nClass, int nRank);
  347. /*146*/ int HasDeathEffect (object oObject, int bCheckForDeathEvent); // == 141 (08D) COMMAND_GETACTIVE
  348. /*147*/ command CommandTurn (float fFacingDirection);
  349. /*148*/ void SetQuickslotBar (object oCreature, int nBarNumber); // == 296 (128) COMMAND_SETITEMDROPPABLE
  350. /*149*/ void LockQuickslotBar (object oCreature, int bLock); // == 296 (128) COMMAND_SETITEMDROPPABLE
  351. /*14A*/ int GetQuickslot (object oCreature, int nSlot);
  352. /*14B*/ int GetDebugHelpersEnabled ( );
  353. /*14C*/ void RevealCurrentMap ( );
  354. /*14D*/ void ClearCreatureProperties (object oCreature); // == 296 (128) COMMAND_SETITEMDROPPABLE
  355. /*14E*/ int GetAOEFlags (object oAOE); // == 141 (08D) COMMAND_GETACTIVE
  356. /*14F*/ void SetAOEFlags (object oAOE, int nFlags); // == 296 (128) COMMAND_SETITEMDROPPABLE
  357. /*150*/ int IsInAOE (object oCreature, object oAOE); // == 170 (0AA) COMMAND_ISPERCEIVING
  358. /*151*/ object GetCreaturesInAOE (object oAOE);
  359. /*152*/ void DEBUG_SendRawInputEvent (int nFrameNumber, string sRawEventName);
  360. /*153*/ void DEBUG_SetCursorPosition (int x, int y);
  361. /*154*/ void LoadItemsFromTemplate (object oCreature, string sTemplate, int bReplaceInventory);
  362. /*155*/ int GetAutoLevelFollowers ( );
  363. /*156*/ void InitHeartbeat (object oCreature, float fInterval);
  364. /*157*/ void EndHeartbeat (object oCreature);
  365. /*158*/ int DialogIsAmbient ( );
  366. /*159*/ void StorePartyInventory (object oPlaceable);
  367. /*15A*/ void StoreFollowerInventory (object oFollower, object oTarget);
  368. /*15B*/ void RestorePartyInventory (object oPlaceable);
  369. /*15C*/ void RestoreFollowerInventory (object oFollower, object oPlaceable);
  370. /*15D*/ void MoveItem (object oSource, object oTarget, object oItem);
  371. /*15E*/ void MoveAllItems (object oSource, object oTarget);
  372. /*15F*/ int AddNonPartyFollower (object oFollower);
  373. /*160*/ void RemoveNonPartyFollower (object oFollower);
  374. /*161*/ void SetAttackDuration (object oObject, float fDuration_s);
  375. /*162*/ int GetWeaponStyle (object oCreature); // == 141 (08D) COMMAND_GETACTIVE
  376. /*163*/ void ShowCraftingGUI (int nCraftingSkillID);
  377. /*164*/ string GetPlaceablePopupText (object oPlaceable);
  378. /*165*/ int LinkAreaMiniMaps (string sFirstArea, string sSecondArea);
  379. /*166*/ int GetItemEquipSlot (object oItem);
  380. /*167*/ void SignalDamage (object oSource, object oTarget);
  381. /*168*/ object UT_GetNearestObjectByTag (object oObject, string sTag, int nIncludeSelf);
  382. /*169*/ void SetLoadImage (string sLoadImage); // == 174 (0AE) COMMAND_SENDTORUNDB
  383. /*16A*/ void ShowStartMenu (int bShowCredits);
  384. /*16B*/ int IsHumanoid (object oObject);
  385. /*16C*/ void ShowAsAllyOnMap (object oCreature, int bEnable);
  386. /*16D*/ int GetTacticPresetID (object oCreature);
  387. /*16E*/ void SetTacticPresetID (object oCreature, int nPresetID);
  388. /*16F*/ void AddTacticPresetID (object oCreature, int nPresetID);
  389. /*170*/ int GetItemUnique (object oObject); // == 141 (08D) COMMAND_GETACTIVE
  390. /*171*/ int GetItemMaterialProgression (object oObject);
  391. /*172*/ object FireHomingProjectile (int nType, vector vSourcePosition, object oTarget, int nCrustEffectId, object oEventTarget); // == 193 (0C1) COMMAND_FIREPROJECTILE
  392. /*173*/ void SetProjectileImpactEvent (object oProjectile, event eCustom);
  393. /*174*/ object GetTacticTargetObject (object oCreature, int nIndex);
  394. /*175*/ object GetTacticConditionObject (object oCreature, int nIndex);
  395. /*176*/ string GetTacticCommandItemTag (object oCreature, int nIndex);
  396. /*177*/ void SetItemIrremovable (object oItem, int bIrremovable);
  397. /*178*/ int IsItemIrremovable (object oItem);
  398. /*179*/ void SetItemIndestructible (object oItem, int bIndestructible);
  399. /*17A*/ int IsItemIndestructible (object oItem);
  400. /*17B*/ void RemoveItemsByTag (object oPossessor, string sTag, int nNumItems);
  401. /*17C*/ int CountItemsByTag (object oPossessor, string sTag);
  402. /*17D*/ string GetPlotSummary (string sPlot, int nFlag);
  403. /*17E*/ void SetFollowerApprovalEnabled (object oFollower, int bEnabled);
  404. /*17F*/ string ECSplitString (string sString);
  405. /*180*/ int GetAutoLevelUp (object oPartyMember);
  406. /*181*/ void SetAutoLevelUp (object oPartyMember, int nAutoLevelUp);
  407. /*182*/ void ScaleEquippedItems (object oCreature, int nTargetLevel);
  408. /*183*/ void ClosePrimaryWorldMap ( );
  409. /*184*/ int IsMoving (object oCreature);
  410. /*185*/ int GetAbilitiesDueToAOEs (object oCreature);
  411. /*186*/ void PreloadCharGen ( );
  412. /*187*/ void SetCanChangeEquipment (object oCreature, int bCanChange);
  413. /*188*/ int EquipItem (object oObject, object oItem, int nEquipSlot, int nWeaponSet);
  414. /*189*/ int UnequipItem (object oObject, object oItem); // == 392 (188) COMMAND_EQUIPITEM
  415. /*18A*/ void SetAimLoopDuration (object oObject, float fDuration); // == 353 (161) COMMAND_SETATTACKDURATION
  416. /*18B*/ object GetPartyPoolList ( );
  417. /*18C*/ void AddToParty (object oCreatureToAdd, object oPlayer); // not declared in script.ldf (patch.003): COMMAND_ADDTOPARTY
  418. /*18D*/ void RemoveFromParty (object oCreature); // not declared in script.ldf (patch.003): COMMAND_REMOVEFROMPARTY
  419. /*18E*/ int GetPartySize (object oPlayer); // not declared in script.ldf (patch.003): COMMAND_GETPARTYSIZE
  420. /*18F*/ int GetFollowerState (object oCreature);
  421. /*190*/ int GetFollowerSubState (object oCreature);
  422. /*191*/ object GetItemInEquipSlot (int nSlot, object oCreature, int nWeaponSet);
  423. /*192*/ void _unimplemented_action_0192 ( ); // == NULL
  424. /*193*/ void RemoveItem (object oItem, int nNumItems);
  425. /*194*/ int GetMaxInventorySize (object oCreature);
  426. /*195*/ void SetMaxInventorySize (int nMaxSize, object oCreature);
  427. /*196*/ void AddCreatureMoney (int nCoppers, object oCreature, int bNotify);
  428. /*197*/ void _unimplemented_action_0197 ( ); // == NULL
  429. /*198*/ int GetCreatureMoney (object oCreature);
  430. /*199*/ void SetCreatureMoney (int nCoppers, object oCreature, int bNotify);
  431. /*19A*/ void OpenInventory (object oObject, object oPlayer, int bCanAddItems);
  432. /*19B*/ int GetTrapDetectionDifficulty (object oTrap); // == 141 (08D) COMMAND_GETACTIVE
  433. /*19C*/ void _unimplemented_action_019C ( ); // == NULL
  434. /*19D*/ int GetTrapDisarmDifficulty (object oTrap); // == 141 (08D) COMMAND_GETACTIVE
  435. /*19E*/ void _unimplemented_action_019E ( ); // == NULL
  436. /*19F*/ void _unimplemented_action_019F ( ); // == NULL
  437. /*1A0*/ void SetTrapDetected (object oTrap, int bDetected);
  438. /*1A1*/ void _unimplemented_action_01A1 ( ); // == NULL
  439. /*1A2*/ void _unimplemented_action_01A2 ( ); // == NULL
  440. /*1A3*/ void _unimplemented_action_01A3 ( ); // == NULL
  441. /*1A4*/ void _unimplemented_action_01A4 ( ); // == NULL
  442. /*1A5*/ void _unimplemented_action_01A5 ( ); // == NULL
  443. /*1A6*/ void _unimplemented_action_01A6 ( ); // == NULL
  444. /*1A7*/ void _unimplemented_action_01A7 ( ); // == NULL
  445. /*1A8*/ void _unimplemented_action_01A8 ( ); // == NULL
  446. /*1A9*/ void _unimplemented_action_01A9 ( ); // == NULL
  447. /*1AA*/ void _unimplemented_action_01AA ( ); // == NULL
  448. /*1AB*/ void _unimplemented_action_01AB ( ); // == NULL
  449. /*1AC*/ void _unimplemented_action_01AC ( ); // == NULL
  450. /*1AD*/ void _unimplemented_action_01AD ( ); // == NULL
  451. /*1AE*/ void _unimplemented_action_01AE ( ); // == NULL
  452. /*1AF*/ void _unimplemented_action_01AF ( ); // == NULL
  453. /*1B0*/ void _unimplemented_action_01B0 ( ); // == NULL
  454. /*1B1*/ object GetNearestObject (object oObject, int nObjectType, int nNumberOfObjects, int nCheckLiving, int nCheckPerceived, int nIncludeSelf); // == 127 (07F) COMMAND_GETNEARESTOBJECTBYHOSTILITY
  455. /*1B2*/ object GetNearestObjectToLocation (location lLocation, int nObjectType, int nNumberOfObjects); // == 127 (07F) COMMAND_GETNEARESTOBJECTBYHOSTILITY
  456. /*1B3*/ object GetNearestObjectByTag (object oObject, string sTag, int nObjectType, int nNumberOfObjects, int nCheckLiving, int nCheckPerceived, int nIncludeSelf); // == 127 (07F) COMMAND_GETNEARESTOBJECTBYHOSTILITY
  457. /*1B4*/ object GetNearestObjectByGroup (object oObject, int nGroupId, int nObjectType, int nNumberOfObjects, int nCheckLiving, int nCheckPerceived, int nIncludeSelf); // == 127 (07F) COMMAND_GETNEARESTOBJECTBYHOSTILITY
  458. /*1B5*/ void _unimplemented_action_01B5 ( ); // == NULL
  459. /*1B6*/ object GetPCSpeaker ( );
  460. /*1B7*/ void _unimplemented_action_01B7 ( ); // == NULL
  461. /*1B8*/ int BeginConversation (object oInitiator, object oTarget, string rDialogFile);
  462. /*1B9*/ void _unimplemented_action_01B9 ( ); // == NULL
  463. /*1BA*/ void _unimplemented_action_01BA ( ); // == NULL
  464. /*1BB*/ void _undocumented_action_01BB ( ); // not declared in script.ldf (patch.003): COMMAND_GETCONVERSATIONENTRYPARAMETER
  465. /*1BC*/ int HasConversation (object oObject);
  466. /*1BD*/ location GetClusterCenter (object oCreator, int nAbilityId, int nClusterSize, int nAllyFailChance, int bReturnFirstMatch);
  467. /*1BE*/ void ClearPerceptionList (object oPerceiver);
  468. /*1BF*/ void OpenStore (object oStore);
  469. /*1C0*/ int GetStoreMoney (object oStore);
  470. /*1C1*/ void SetStoreMoney (object oStore, int nMoney); // == 448 (1C0) COMMAND_STOREGETMONEY
  471. /*1C2*/ int GetStoreMaxBuyPrice (object oStore);
  472. /*1C3*/ void SetStoreMaxBuyPrice (object oStore, int nMaxBuyPrice);
  473. /*1C4*/ int GetStoreMarkUp (object oStore); // == 313 (139) COMMAND_STOREGETMARKDOWN
  474. /*1C5*/ void SetStoreMarkUp (object oStore, int nMoney);
  475. /*1C6*/ location Location (object oArea, vector vPosition, float fAngle);
  476. /*1C7*/ int IsLocationValid (location lLocation);
  477. /*1C8*/ int IsLocationSafe (location lLocation);
  478. /*1C9*/ location GetLocation (object oObject);
  479. /*1CA*/ void SetLocation (object oObject, location lLocation);
  480. /*1CB*/ vector GetPositionFromLocation (location lLocation);
  481. /*1CC*/ location SetLocationPosition (location lLocation, vector vPosition);
  482. /*1CD*/ object GetAreaFromLocation (location lLocation);
  483. /*1CE*/ location SetLocationArea (location lLocation, object oArea);
  484. /*1CF*/ float GetFacingFromLocation (location lLocation);
  485. /*1D0*/ vector GetOrientationFromLocation (location lLocation);
  486. /*1D1*/ location SetLocationOrientation (location lLocation, vector vOrientation);
  487. /*1D2*/ int GetGroupHostility (int nGroupA, int nGroupB);
  488. /*1D3*/ void SetGroupHostility (int nGroupA, int nGroupB, int bHostile);
  489. /*1D4*/ int IsObjectHostile (object oSource, object oTarget);
  490. /*1D5*/ int GetGroupId (object oObject);
  491. /*1D6*/ void SetGroupId (object oObject, int nGroupId);
  492. /*1D7*/ void SetReactionOverride (object oObject, int bHostile);
  493. /*1D8*/ void _unimplemented_action_01D8 ( ); // == NULL
  494. /*1D9*/ void _unimplemented_action_01D9 ( ); // == NULL
  495. /*1DA*/ void _unimplemented_action_01DA ( ); // == NULL
  496. /*1DB*/ void _unimplemented_action_01DB ( ); // == NULL
  497. /*1DC*/ void _unimplemented_action_01DC ( ); // == NULL
  498. /*1DD*/ void PlaySound (object oTarget, string sSoundEventName);
  499. /*1DE*/ void StopSound (string sSoundEventName);
  500. /*1DF*/ void PlaySoundSet (object oTarget, int nSoundSetEntry, float fProbabilityOverride);
  501. /*1E0*/ void PlaySoundObject (object oSound);
  502. /*1E1*/ void StopSoundObject (object oSound);
  503. /*1E2*/ void _unimplemented_action_01E2 ( ); // == NULL
  504. /*1E3*/ void _unimplemented_action_01E3 ( ); // == NULL
  505. /*1E4*/ void PlayMusic (string sMusicName);
  506. /*1E5*/ void StopMusic (string sMusicName); // == 484 (1E4) COMMAND_PLAYMUSIC
  507. /*1E6*/ void SetMusicIntensity (int nIntensity);
  508. /*1E7*/ void ActivateSoundByTag (string sSoundTag, int nActivate);
  509. /*1E8*/ void SetMusicVolumeStateByTag (string sMusicVolumeTag, int nMusicState);
  510. /*1E9*/ void _unimplemented_action_01E9 ( ); // == NULL
  511. /*1EA*/ void _unimplemented_action_01EA ( ); // == NULL
  512. /*1EB*/ void _unimplemented_action_01EB ( ); // == NULL
  513. /*1EC*/ void _unimplemented_action_01EC ( ); // == NULL
  514. /*1ED*/ void _unimplemented_action_01ED ( ); // == NULL
  515. /*1EE*/ void _unimplemented_action_01EE ( ); // == NULL
  516. /*1EF*/ void _unimplemented_action_01EF ( ); // == NULL
  517. /*1F0*/ void _unimplemented_action_01F0 ( ); // == NULL
  518. /*1F1*/ void _unimplemented_action_01F1 ( ); // == NULL
  519. /*1F2*/ void _unimplemented_action_01F2 ( ); // == NULL
  520. /*1F3*/ void _unimplemented_action_01F3 ( ); // == NULL
  521. /*1F4*/ int IsHero (object oCreature);
  522. /*1F5*/ void _unimplemented_action_01F5 ( ); // == NULL
  523. /*1F6*/ object GetHero ( );
  524. /*1F7*/ void _unimplemented_action_01F7 ( ); // == NULL
  525. /*1F8*/ object GetPartyList (object oCreature);
  526. /*1F9*/ void _unimplemented_action_01F9 ( ); // == NULL
  527. /*1FA*/ void _unimplemented_action_01FA ( ); // == NULL
  528. /*1FB*/ void _unimplemented_action_01FB ( ); // == NULL
  529. /*1FC*/ void _unimplemented_action_01FC ( ); // == NULL
  530. /*1FD*/ void _unimplemented_action_01FD ( ); // == NULL
  531. /*1FE*/ void _unimplemented_action_01FE ( ); // == NULL
  532. /*1FF*/ void _unimplemented_action_01FF ( ); // == NULL
  533. /*200*/ void _unimplemented_action_0200 ( ); // == NULL
  534. /*201*/ void DoAutoSave ( );
  535. /*202*/ void _unimplemented_action_0202 ( ); // == NULL
  536. /*203*/ void _unimplemented_action_0203 ( ); // == NULL
  537. /*204*/ void _unimplemented_action_0204 ( ); // == NULL
  538. /*205*/ void _unimplemented_action_0205 ( ); // == NULL
  539. /*206*/ void _unimplemented_action_0206 ( ); // == NULL
  540. /*207*/ void _unimplemented_action_0207 ( ); // == NULL
  541. /*208*/ void _unimplemented_action_0208 ( ); // == NULL
  542. /*209*/ void _unimplemented_action_0209 ( ); // == NULL
  543. /*20A*/ object GetAttackTarget (object oCreature); // == 223 (0DF) COMMAND_GETAREA
  544. /*20B*/ void _unimplemented_action_020B ( ); // == NULL
  545. /*20C*/ void _unimplemented_action_020C ( ); // == NULL
  546. /*20D*/ void SetCombatState (object oCreature, int nCombatState);
  547. /*20E*/ int GetCombatState (object oCreature);
  548. /*20F*/ void _unimplemented_action_020F ( ); // == NULL
  549. /*210*/ void _unimplemented_action_0210 ( ); // == NULL
  550. /*211*/ int GetGameMode ( );
  551. /*212*/ void SetGameMode (int nMode);
  552. /*213*/ void _unimplemented_action_0213 ( ); // == NULL
  553. /*214*/ void _unimplemented_action_0214 ( ); // == NULL
  554. /*215*/ int AddCommand (object oObject, command cCommand, int bAddToFront, int bStatic, int nOverrideAddBehavior);
  555. /*216*/ void RemoveCommandByIndex (object oObject, int nIndex);
  556. /*217*/ void RemoveCommand (object oObject, command cCommand);
  557. /*218*/ command GetCommandByIndex (object oObject, int nIndex);
  558. /*219*/ void _unimplemented_action_0219 ( ); // == NULL
  559. /*21A*/ int ClearAllCommands (object oObject, int nHardClear);
  560. /*21B*/ command GetCurrentCommand (object oObject);
  561. /*21C*/ void ClearCurrentCommand (object oObject);
  562. /*21D*/ int GetCommandType (command cCommand);
  563. /*21E*/ void _unimplemented_action_021E ( ); // == NULL
  564. /*21F*/ void _unimplemented_action_021F ( ); // == NULL
  565. /*220*/ int GetCommandInt (command cCommand, int nIndex);
  566. /*221*/ void SetCommandInt (command cCommand, int nCommandInt, int nIndex);
  567. /*222*/ float GetCommandFloat (command cCommand, int nIndex);
  568. /*223*/ command SetCommandFloat (command cCommand, float nCommandFloat, int nIndex);
  569. /*224*/ void _unimplemented_action_0224 ( ); // == NULL
  570. /*225*/ void _unimplemented_action_0225 ( ); // == NULL
  571. /*226*/ object GetCommandObject (command cCommand, int nIndex);
  572. /*227*/ command SetCommandObject (command cCommand, object nCommandObject, int nIndex);
  573. /*228*/ void _unimplemented_action_0228 ( ); // == NULL
  574. /*229*/ void _unimplemented_action_0229 ( ); // == NULL
  575. /*22A*/ void _unimplemented_action_022A ( ); // == NULL
  576. /*22B*/ void _unimplemented_action_022B ( ); // == NULL
  577. /*22C*/ void _unimplemented_action_022C ( ); // == NULL
  578. /*22D*/ void _unimplemented_action_022D ( ); // == NULL
  579. /*22E*/ void _unimplemented_action_022E ( ); // == NULL
  580. /*22F*/ command CommandMoveToLocation (location lLocation, int bRunToLocation, int bDeactivateAtEnd);
  581. /*230*/ command CommandMoveToObject (object oTarget, int bRunToLocation, float fMinRange, int bUseOriginalPosition, float fMaxRange);
  582. /*231*/ command CommandMoveAwayFromObject (object oTarget, float fAwayDistance, int bRunToLocation);
  583. /*232*/ command CommandEquipItem (object oItem, int nEquipSlot, int nWeaponSet);
  584. /*233*/ command CommandUnequipItem (object oItem); // == 562 (232) COMMAND_COMMANDEQUIPITEM
  585. /*234*/ void _unimplemented_action_0234 ( ); // == NULL
  586. /*235*/ void _unimplemented_action_0235 ( ); // == NULL
  587. /*236*/ command CommandAttack (object oTarget, int nForcedResult);
  588. /*237*/ void _unimplemented_action_0237 ( ); // == NULL
  589. /*238*/ void _unimplemented_action_0238 ( ); // == NULL
  590. /*239*/ command CommandPlayAnimation (int nAnimation, int nLoops, int bPlayNext, int bBlendIn);
  591. /*23A*/ void _unimplemented_action_023A ( ); // == NULL
  592. /*23B*/ void _unimplemented_action_023B ( ); // == NULL
  593. /*23C*/ void _unimplemented_action_023C ( ); // == NULL
  594. /*23D*/ void _unimplemented_action_023D ( ); // == NULL
  595. /*23E*/ void _unimplemented_action_023E ( ); // == NULL
  596. /*23F*/ void _unimplemented_action_023F ( ); // == NULL
  597. /*240*/ void _unimplemented_action_0240 ( ); // == NULL
  598. /*241*/ void _unimplemented_action_0241 ( ); // == NULL
  599. /*242*/ command CommandWait (float fSeconds);
  600. /*243*/ command CommandStartConversation (object oTarget, string rDialogFile);
  601. /*244*/ command CommandJumpToObject (object oTarget);
  602. /*245*/ command CommandJumpToLocation (location lLocation);
  603. /*246*/ command CommandUseAbility (int nAbilityId, object oTarget, vector vTarget, float nConjureTime, string sAbilitySourceItemTag);
  604. /*247*/ void _unimplemented_action_0247 ( ); // == NULL
  605. /*248*/ void _unimplemented_action_0248 ( ); // == NULL
  606. /*249*/ command CommandDoFunction (action fFunction); // not declared in script.ldf (patch.003): COMMAND_COMMANDDOFUNCTION
  607. /*24A*/ command CommandUseObject (object oTarget, int nAction);
  608. /*24B*/ void InteractWithObject (object oCreature, object oTarget, int nInteractionId, int nPose, int nLoops, int bPlayExit, int bSkipReposition);
  609. /*24C*/ void _unimplemented_action_024C ( ); // == NULL
  610. /*24D*/ void _unimplemented_action_024D ( ); // == NULL
  611. /*24E*/ void _unimplemented_action_024E ( ); // == NULL
  612. /*24F*/ void _unimplemented_action_024F ( ); // == NULL
  613. /*250*/ void _unimplemented_action_0250 ( ); // == NULL
  614. /*251*/ void RemoveEffectsByParameters (object oTarget, int nType, int nAbilityId, object oCreator);
  615. /*252*/ void RemoveAllEffects (object oTarget, int bIgnoreInjuries, int bDeath);
  616. /*253*/ int IsEffectValid (effect eEffect);
  617. /*254*/ void Engine_ApplyEffectAtLocation (int nDurationType, effect eEffect, location lLocation, float fDuration, object oCreator, int nAbilityId);
  618. /*255*/ void Engine_ApplyEffectOnObject (int nDurationType, effect eEffect, object oTarget, float fDuration, object oCreator, int nAbilityId);
  619. /*256*/ void RemoveEffect (object oTarget, effect eEffect);
  620. /*257*/ void TakeScreenshot (int bHideInterface, int nTitleStrRef, int nDescriptionStrRef, int nType, string sId);
  621. /*258*/ void SetWorldMapLocationLocName (object oLocation, int nStringID);
  622. /*259*/ int GetShowSpecialMoveFloaties ( );
  623. /*25A*/ int GetGamePlotAssist ( );
  624. /*25B*/ int GetHasAchievementByID (int nID);
  625. /*25C*/ int GetEffectType (effect eEffect);
  626. /*25D*/ int GetEffectFlags (effect efEffect); // == 604 (25C) COMMAND_GETEFFECTTYPE
  627. /*25E*/ vector GetMeleeRingPosition (object nRingOwnerId, int nRingIndex);
  628. /*25F*/ int GetEffectAnimation (effect efEffect); // == 604 (25C) COMMAND_GETEFFECTTYPE
  629. /*260*/ int GetEffectDurationType (effect eEffect); // == 604 (25C) COMMAND_GETEFFECTTYPE
  630. /*261*/ effect SetEffectFlags (effect efEffect, int nFlags);
  631. /*262*/ int IsAbilityAvailable (object oCreature, int nAbility);
  632. /*263*/ effect SetEffectAnimation (effect efEffect, int nAnimation); // == 609 (261) COMMAND_SETEFFECTFLAGS
  633. /*264*/ object GetEffectCreator (effect eEffect); // == 604 (25C) COMMAND_GETEFFECTTYPE
  634. /*265*/ effect SetEffectCreator (effect eEffect, object oCreator); // == 609 (261) COMMAND_SETEFFECTFLAGS
  635. /*266*/ int GetEffectID (effect eEffect); // == 604 (25C) COMMAND_GETEFFECTTYPE
  636. /*267*/ int GetAbilityCount (object oCreature, int nType, int nGUIType); // == 141 (08D) COMMAND_GETACTIVE
  637. /*268*/ void UnlockAchievementByID (int nID);
  638. /*269*/ int IncrementAchievementCountByID (int nID, int nIncrement);
  639. /*26A*/ int GetAchievementCountByID (int nID);
  640. /*26B*/ void ShowAllCodexEntries ( );
  641. /*26C*/ int GetEffectAbilityID (effect efEffect); // == 604 (25C) COMMAND_GETEFFECTTYPE
  642. /*26D*/ effect SetEffectAbilityID (effect efEffect, int nAbilityId); // == 609 (261) COMMAND_SETEFFECTFLAGS
  643. /*26E*/ int GetFollowerApproval (object oFollower);
  644. /*26F*/ int GetClassRank (object oCreature, int nClass);
  645. /*270*/ object GetPartyLeader ( );
  646. /*271*/ void SetPartyLeader (object oLeader);
  647. /*272*/ int ClearAmbientDialogs (object oObject);
  648. /*273*/ void SetCheatUsedFlag ( );
  649. /*274*/ int GetCommandIsPlayerIssued (command oNode);
  650. /*275*/ int GetHasAchievement (string sAchievementID); // == 603 (25B) COMMAND_GETHASACHIEVEMENTBYID
  651. /*276*/ void SendOnlineTelemetry (int nModuleID, int nGroupID, string sTelemetryText);
  652. /*277*/ void SendOnlineScreenShot (string sFileName, string sShortDescription, string sLongDescription);
  653. /*278*/ void BeginSlideshow (string rConversation);
  654. /*279*/ int GetCanLevelUp (object oCreature);
  655. /*27A*/ effect EffectAreaOfEffect (int nId, string rScript, int nAoEVfx);
  656. /*27B*/ void ApplyEffectVisualEffect (object oCreator, object oTarget, int nVFXId, int nDurationType, float fDuration, int nAbilityId);
  657. /*27C*/ void OpenItemUpgradeGUI ( );
  658. /*27D*/ int GetBackgroundDefaultsIndex (object oCreature);
  659. /*27E*/ void UnlockAchievement (string sAchievementID); // == 616 (268) COMMAND_UNLOCKACHIEVEMENTBYID
  660. /*27F*/ void UpdateOnlineStatistic (string sStatName, int nUpdateType, int nUpdatePeriod, float fStatValue, string sStatText);
  661. /*280*/ float GetOnlineStatistic (string sStatName, int nPeriodType);
  662. /*281*/ int IsItemStealable (object oItem); // == 141 (08D) COMMAND_GETACTIVE
  663. /*282*/ void SetCreatureIsStatue (object oObject, int value); // == 296 (128) COMMAND_SETITEMDROPPABLE
  664. /*283*/ void SetCreatureIsGhost (object oObject, int value); // == 296 (128) COMMAND_SETITEMDROPPABLE
  665. /*284*/ command CommandMoveToMultiLocations (location lLocations, int bRunToLocation, int nStartingWP, int bLoop);
  666. /*285*/ void SetItemDamaged (object oObject, int value); // == 296 (128) COMMAND_SETITEMDROPPABLE
  667. /*286*/ int GetItemDamaged (object oObject); // == 141 (08D) COMMAND_GETACTIVE
  668. /*287*/ void LoadCutscene (string rCutscene, object oPlayer, int bPlayImmediately, string aTargetTagsToReplace, object aReplacementObjects, int bActorsHaveWeapons);
  669. /*288*/ void PlayCutscene (object oPlayer);
  670. /*289*/ void SetMapPatchState (object oMapPatch, int nState); // == NULL
  671. /*28A*/ int GetMapPatchState (object oMapPatch); // == NULL
  672. /*28B*/ object GetPlayerMapPatch (object pPlayer, string sTag, int nNth); // == NULL
  673. /*28C*/ void SetMapPinState (object oMapPin, int nEnable);
  674. /*28D*/ int GetMapPinState (object oMapPin);
  675. /*28E*/ object GetPlayerMapPin (object pPlayer, string sTag, int nNth); // == NULL
  676. /*28F*/ effect SetEffectEngineInteger (effect efEffect, int nIndex, int nValue);
  677. /*290*/ vector GetOrientation (object oTarget);
  678. /*291*/ void SetOrientation (object oTarget, vector vOrientation);
  679. /*292*/ location SetLocationFacing (location lLocation, float fAngle);
  680. /*293*/ location GetSafeLocation (location lLocation);
  681. /*294*/ int GetPartyPlotFlag (object oParty, string strPlot, int nFlag, int nCallScript);
  682. /*295*/ void SetPartyPlotFlag (object oParty, string strPlot, int nFlag, int nValue, int nCallScript);
  683. /*296*/ void _undocumented_action_0296 ( ); // == 660 (294) COMMAND_GETPARTYPLOTFLAG not declared in script.ldf (patch.003): COMMAND_GETPARTYPLO
  684. /*297*/ void _undocumented_action_0297 ( ); // == 661 (295) COMMAND_SETPARTYPLOTFLAG not declared in script.ldf (patch.003): COMMAND_SETPARTYPLO
  685. /*298*/ void _unimplemented_action_0298 ( ); // == NULL
  686. /*299*/ int GetPlotEntryName (string strPlot);
  687. /*29A*/ void _unimplemented_action_029A ( ); // == NULL
  688. /*29B*/ int GetM2DAInt (int n2DA, string sColumn, int nRow, string s2da);
  689. /*29C*/ void _unimplemented_action_029C ( ); // == NULL
  690. /*29D*/ void ResetReaction (object oObject);
  691. /*29E*/ void _unimplemented_action_029E ( ); // == NULL
  692. /*29F*/ void _unimplemented_action_029F ( ); // == NULL
  693. /*2A0*/ void SpawnBodyBag (object oCreature, int bForce);
  694. /*2A1*/ object GetObjectsInShape (int nObjectTypeMask, int nShapeId, location lLocation, float fA, float fB, float fC, int bExcludeDead); // == 197 (0C5) COMMAND_FILTEROBJECTSINSHAPE
  695. /*2A2*/ void Warning (string sWarning); // == 174 (0AE) COMMAND_SENDTORUNDB
  696. /*2A3*/ object GetItemPossessedBy (object oObject, string sTag);
  697. /*2A4*/ void SetObjectInteractive (object oObject, int value); // == 296 (128) COMMAND_SETITEMDROPPABLE
  698. /*2A5*/ int GetObjectInteractive (object oObject); // == 141 (08D) COMMAND_GETACTIVE
  699. /*2A6*/ void _unimplemented_action_02A6 ( ); // == NULL
  700. /*2A7*/ void _unimplemented_action_02A7 ( ); // == NULL
  701. /*2A8*/ void Probe (string sOutput, float fValue);
  702. /*2A9*/ effect GetCurrentEffect ( );
  703. /*2AA*/ void SetIsCurrentEffectValid (int nValid);
  704. /*2AB*/ int GetEffectInteger (effect efEffect, int nIndex);
  705. /*2AC*/ effect SetEffectInteger (effect efEffect, int nIndex, int nValue);
  706. /*2AD*/ float GetEffectFloat (effect efEffect, int nIndex); // == 683 (2AB) COMMAND_GETEFFECTINTEGER
  707. /*2AE*/ effect SetEffectFloat (effect efEffect, int nIndex, float fValue); // == 684 (2AC) COMMAND_SETEFFECTINTEGER
  708. /*2AF*/ object GetEffectObject (effect efEffect, int nIndex); // == 683 (2AB) COMMAND_GETEFFECTINTEGER
  709. /*2B0*/ effect SetEffectObject (effect efEffect, int nIndex, object oValue); // == 684 (2AC) COMMAND_SETEFFECTINTEGER
  710. /*2B1*/ string GetEffectString (effect efEffect, int nIndex); // == 683 (2AB) COMMAND_GETEFFECTINTEGER
  711. /*2B2*/ effect SetEffectString (effect efEffect, int nIndex, string sValue); // == 684 (2AC) COMMAND_SETEFFECTINTEGER
  712. /*2B3*/ void SetAttackResult (object oAttacker, int nResult1, effect eDamageEffect1, int nResult2, effect eDamageEffect2);
  713. /*2B4*/ void _unimplemented_action_02B4 ( ); // == NULL
  714. /*2B5*/ float GetWeaponAttackRating (object oAttacker, int nRightHandWeapon);
  715. /*2B6*/ int GetPlatform ( );
  716. /*2B7*/ effect GetAttackImpactDamageEffect (object oAttacker, int nDamageEffectId);
  717. /*2B8*/ void WorldMapStartTravelling (string sRandomEncounterArea, string sRandomEncounterWaypointTag, object oSourceLocationOverride);
  718. /*2B9*/ void WorldMapCompleteRandomEncounter ( );
  719. /*2BA*/ void SetBodybagDecayDelay (object oBodybag, int nMilliSec); // == 296 (128) COMMAND_SETITEMDROPPABLE
  720. /*2BB*/ int GetWeaponBaseDamage (object oAttacker, int nRightHandWeapon); // == 693 (2B5) COMMAND_GETWEAPONATTACKRATING
  721. /*2BC*/ int DEPRECATED_GetCreatureStrengthModifier (object oAttacker); // == 693 (2B5) COMMAND_GETWEAPONATTACKRATING
  722. /*2BD*/ float GetWeaponStrengthModifier (object oAttacker, int nRightHandWeapon); // == 693 (2B5) COMMAND_GETWEAPONATTACKRATING
  723. /*2BE*/ void SetCreaturesGlobalMaxTimeBeforeDecay (int nMilliSec);
  724. /*2BF*/ float GetWeaponArmorPenetration (object oAttacker, object oTarget, int nRightHandWeapon); // == 693 (2B5) COMMAND_GETWEAPONATTACKRATING
  725. /*2C0*/ string DEBUG_ConsoleCommand (string sArg);
  726. /*2C1*/ int GetTime ( );
  727. /*2C2*/ void SetFollowerState (object oCreature, int nState);
  728. /*2C3*/ object GetObjectsInArea (object oArea, string sTag); // == 337 (151) COMMAND_GETCREATURESINAOE
  729. /*2C4*/ int GetArraySize (int array);
  730. /*2C5*/ void _unimplemented_action_02C5 ( ); // == NULL
  731. /*2C6*/ void _unimplemented_action_02C6 ( ); // == NULL
  732. /*2C7*/ void _unimplemented_action_02C7 ( ); // == NULL
  733. /*2C8*/ effect GetEffects (object oObject, int nEffectType, int nAbilityId, object oCreator, int nDurationType, int nEffectId); // == 177 (0B1) COMMAND_GETHASEFFECT
  734. /*2C9*/ effect GetEffectsByCreator (object oCreator, int nAbilityID, int nType);
  735. /*2CA*/ int IsControlled (object oObject);
  736. /*2CB*/ void SetAbilityResult (object oUser, int nResistanceCheckResult, int nProjectileTarget);
  737. /*2CC*/ void SetCommandResult (object oObject, int nResult);
  738. /*2CD*/ void _unimplemented_action_02CD ( ); // == NULL
  739. /*2CE*/ void _unimplemented_action_02CE ( ); // == NULL
  740. /*2CF*/ float GetCreatureGoreLevel (object oCreature);
  741. /*2D0*/ void SetCreatureGoreLevel (object oCreature, float fGoreLevel);
  742. /*2D1*/ command CommandDoEvent (event evToQueue); // not declared in script.ldf (patch.003): COMMAND_COMMANDDOEVENT
  743. /*2D2*/ void ShowSpecUnlockedNotification (int nSpecID);
  744. /*2D3*/ void ShowAreaUnlockedNotification (string sAreaName, string sImage);
  745. /*2D4*/ int GetCommandQueueSize (object oObject);
  746. /*2D5*/ void Engine_SetModalAbilityGUI (object oCreature, int nAbilityId, int nStatus);
  747. /*2D6*/ int IsModalAbilityActive (object oCreature, int nAbilityId);
  748. /*2D7*/ effect SetEffectEngineVector (effect efEffect, int nIndex, vector vVector); // == 655 (28F) COMMAND_SETEFFECTENGINEINTEGER
  749. /*2D8*/ location GetFollowerWouldBeLocation (object oObject);
  750. /*2D9*/ void SetDead (object oObject, int bDeadFlagValue); // == NULL
  751. /*2DA*/ int GetCommandPriority (command cCommand);
  752. /*2DB*/ int IsConjuring (object oObject);
  753. /*2DC*/ string ResourceToString (string rRes);
  754. /*2DD*/ void PrintResource (string rResource, int bPrepend);
  755. /*2DE*/ event SetEventResource (event evEvent, int nIndex, string rValue);
  756. /*2DF*/ string GetEventResource (event evEvent, int nIndex);
  757. /*2E0*/ string GetLocalResource (object oObject, string sVarName);
  758. /*2E1*/ void SetLocalResource (object oObject, string sVarName, string sResource);
  759. /*2E2*/ float GetCreatureProperty (object oCreature, int nProperty, int nValueType);
  760. /*2E3*/ int GetCreaturePropertyType (object oCreature, int nProperty);
  761. /*2E4*/ void SetCreatureProperty (object oCreature, int nProperty, float fNewValue, int nValueType);
  762. /*2E5*/ void UpdateCreatureProperty (object oCreature, int nProperty, float fNewValue, int nValueType);
  763. /*2E6*/ string GetPlotResRef (string strPlot);
  764. /*2E7*/ string GetPlotFlagName (string strPlot, int nFlag);
  765. /*2E8*/ void DisplayFloatyMessage (object oCreature, string sMessage, int nStyle, int nColour, float nDuration);
  766. /*2E9*/ int DoAreaTransition (string sArea, string sWaypointTag);
  767. /*2EA*/ void StartCharGen (object oCreature, int nMode, int nImportEnabled);
  768. /*2EB*/ void DisplayStatusMessage (string sMessage, int nColour);
  769. /*2EC*/ void SetQuickslot (object oCreature, int nSlot, int nAbilityID, string sItemTag);
  770. /*2ED*/ void ShowFloatyIcon (object oCreature, string sIconName);
  771. /*2EE*/ void SetStoryPlot (string sPlot);
  772. /*2EF*/ void SetPlotGiver (object oid, int bIsPlotGiver);
  773. /*2F0*/ void SetWorldMapGuiStatus (int nStatus);
  774. /*2F1*/ void SetWorldMapLocationStatus (object oLocation, int nStatusId, int bSuppressActiveFlash);
  775. /*2F2*/ void SetWorldMapPlayerLocation (object oMap, object oLocation);
  776. /*2F3*/ void SetWorldMapPrimary (object oMapId);
  777. /*2F4*/ void SetWorldMapSecondary (object oMapId);
  778. /*2F5*/ void OpenPrimaryWorldMap ( );
  779. /*2F6*/ void SetStealthEnabled (object oCreature, int nEnabled); // == 296 (128) COMMAND_SETITEMDROPPABLE
  780. /*2F7*/ int GetStealthEnabled (object oCreature); // == 141 (08D) COMMAND_GETACTIVE
  781. /*2F8*/ void SetCanLevelUp (object oPartyMember, int bCanLevelUp);
  782. /*2F9*/ effect SetEffectEngineFloat (effect efEffect, int nIndex, float fValue); // == 655 (28F) COMMAND_SETEFFECTENGINEINTEGER
  783. /*2FA*/ effect SetEffectEngineObject (effect efEffect, int nIndex, object oValue); // == 655 (28F) COMMAND_SETEFFECTENGINEINTEGER
  784. /*2FB*/ int GetCombatantType (object oidCreature);
  785. /*2FC*/ void SetCreatureCanBeTracked (object oCreature, int nEnabled); // == 296 (128) COMMAND_SETITEMDROPPABLE
  786. /*2FD*/ int GetCreatureCanBeTracked (object oCreature); // == 141 (08D) COMMAND_GETACTIVE
  787. /*2FE*/ void SetCreatureRank (object oCreature, int nRank);
  788. /*2FF*/ float RandomFloat ( );
  789. /*300*/ int GetFollowPartyLeader (object oCreature);
  790. /*301*/ void SetFollowPartyLeader (object oCreature, int bFollow);
  791. /*302*/ void DisplayPortraitMessage (object oPlayerCreature, string sMessage, int nColour);
  792. /*303*/ void ShowDeathScreen (int bCaptured);
  793. /*304*/ int GetNumTactics (object oCreature);
  794. /*305*/ void SetNumTactics (object oCreature, int nNumTactics, int bSendNotification);
  795. /*306*/ int IsTacticEnabled (object oCreature, int nIndex);
  796. /*307*/ int GetTacticTargetType (object oCreature, int nIndex);
  797. /*308*/ int GetTacticCondition (object oCreature, int nIndex);
  798. /*309*/ int GetTacticCommand (object oCreature, int nIndex);
  799. /*30A*/ int GetTacticCommandParam (object oCreature, int nIndex);
  800. /*30B*/ void ShowChantersGUI (int nBoardID);
  801. /*30C*/ void AddItemVisualEffect (object oTarget, int nVFXId);
  802. /*30D*/ int GetItemVisualEffectsIDs (object oTarget);
  803. /*30E*/ void RemoveItemVisualEffect (object oTarget, int nId);
  804. /*30F*/ void RemoveAllItemVisualEffects (object oTarget);
  805. /*310*/ int GetItemPropertyPower (object oItem, int nPropertyId, int bIncludeSubItems);
  806. /*311*/ int GetItemOnHitPower (object oItem); // == NULL
  807. /*312*/ void SetItemOnHitProperties (object oItem, int nEffectId, int nPower); // == NULL
  808. /*313*/ int IsPartyAIEnabled (object oCreature);
  809. /*314*/ void ShowGeneralScoreboardGUI ( );
  810. /*315*/ void ShowChampionshipScoreboardGUI ( );
  811. /*316*/ void ShowTournamentScoreboardGUI ( );
  812. /*317*/ void AddGeneralScoreboardEntry (string sName, int nVictories, int nDefeats, int nFatalities, int bQualified, int bDead);
  813. /*318*/ void SetChampionshipScoreboardEntry (int nEntryID, string sName, int bWinner, int bIsPlayer);
  814. /*319*/ void SetTournamentScoreboardEntry (int nEntryID, string sName, int bDefeated, int bIsPlayer);
  815. /*31A*/ void ShowPartyPickerGUI ( );
  816. /*31B*/ void SetPlotActionsEnabled (int nEnabled);
  817. /*31C*/ void SetPlotActionState (int nPlotActionId, int nPlotActionState);
  818. /*31D*/ int GetPlotActionState (int nPlotActionId);
  819. /*31E*/ void SetPlotActionCount (int nPlotActionId, int nPlotActionCount);
  820. /*31F*/ int GetPlotActionCount (int nPlotActionId);
  821. /*320*/ void SetAtmosphere (int nParamId, float fParamValue);
  822. /*321*/ void SetAtmosphereRGB (int nParamId, float fRedValue, float fGreenValue, float fBlueValue);
  823. /*322*/ void ResetAtmosphere ( );
  824. /*323*/ void FB_SetEffectResource (string sEID, string sResID, float fResValue);
  825. /*324*/ void FB_SetEffectEnabled (string sEID, int nEnabled);
  826. /*325*/ void SetLookAtEnabled (object oCreature, int nEnabled); // == 296 (128) COMMAND_SETITEMDROPPABLE
  827. /*326*/ void SetTeamId (object oObject, int nTeamId);
  828. /*327*/ int GetTeamId (object oObject);
  829. /*328*/ object GetTeam (int nTeamId, int nMembersType);
  830. /*329*/ string ReadIniEntry (string sHeadingLabel, string sValueLabel);
  831. /*32A*/ void SetPlotActionSet (int nPlotActionSet);
  832. /*32B*/ command CommandFly (location lLocation);
  833. /*32C*/ int CanUseItem (object oCreature, object oItem);
  834. /*32D*/ void SetCanUseItem (object oCreature, int value); // == 296 (128) COMMAND_SETITEMDROPPABLE
  835. /*32E*/ void SetControllable (object oFollower, int nIsControllable);
  836. /*32F*/ void SetPrimaryControlled (object oFollower);
  837. /*330*/ int GetConditionedAbilities (object oCreature, int nConditions);
  838. /*331*/ int GetPlaceableTreasureCategory (object oPlaceable);
  839. /*332*/ int GetPlaceableTreasureRank (object oPlaceable);
  840. /*333*/ int CanUseConditionedAbility (object oCreature, int nAbility, int nConditions);
  841. /*334*/ void Screenshot (string sFileName, string sPath, int bHideConsole);
  842. /*335*/ object GetItemSubItems (object oItem);
  843. /*336*/ void _undocumented_action_0336 ( ); // not declared in script.ldf (patch.003): COMMAND_ADDITEMSUBITEM
  844. /*337*/ void _undocumented_action_0337 ( ); // not declared in script.ldf (patch.003): COMMAND_REMOVEITEMSUBITEM
  845. /*338*/ void SetRoamLocation (object oCreature, location lLocation);
  846. /*339*/ void SetRoamRadius (object oCreature, float fRadius);
  847. /*33A*/ location GetRoamLocation (object oCreature);
  848. /*33B*/ object GetCreatureBodyBag (object oCreature);
  849. /*33C*/ int GetPRCEnabled (string sPRCName);
  850. /*33D*/ void SetFollowerApprovalDescription (object oFollower, int nDescStrRef);
  851. /*33E*/ int GetPlayTime ( );
  852. /*33F*/ int BuyDownload (string sOfferId);
  853. /*340*/ void SaveGamePostCampaign ( );
  854. /*341*/ effect EffectDamage (float fValue, int nDamageType, int nFlags, int nImpactVFX);
  855. /*342*/ effect EffectImpact (float fDamage, object oWeapon, int nVfx, int nAbi, int nDamageType);
  856. /*343*/ effect EffectModifyProperty (int nProperty0, float fChange0, int nProperty1, float fChange1, int nProperty2, float fChange2);
  857. /*344*/ int IsPRCAvailable ( );
  858. /*345*/ void LogStoryEvent (int nEventID);
  859. /*346*/ int GetNameStrref (object oObject);
  860. /*347*/ void SetPhysicsController (object oCreature, int bEnable); // == 296 (128) COMMAND_SETITEMDROPPABLE
  861. /*348*/ int GetMaxLevel ( );
  862. /*349*/ int GetHashedM2DAInt (int n2DA, int nColumnHash, int nRow);
  863. /*34A*/ void SetTrainingMode (int nTrainingMode);
  864. /*34B*/ void BeginTrainingStep (int nStepID, int nExpectedTrainingEvent, int nTrainingEventArg);
  865. /*34C*/ void SetGameCompletionPercentage (float fPercentage);
  866. /*34D*/ void SetIndividualImpactAOEEvent (object oCaster, object oTarget, int nAbility, location lTarget, int nBaseDelay);
  867. /*34E*/ void CloseQuestGroup (string sGroupOrPlotResRef);
  868. /*34F*/ effect EffectModifyPropertyHostile (int nProperty0, float fChange0, int nProperty1, float fChange1, int nProperty2, float fChange2); // == 835 (343) COMMAND_EFFECTMODIFYPROPERTY
  869. /*350*/ void HighlightGuiElement (int nGuiElement, int nHighlightArg);
  870. /*351*/ void SetZoomLevel (float fZoomLevel);
  871. /*352*/ void RemoveQuest (string sPlotResRef);
  872. /*353*/ int GetGraphicsDetailLevel ( );
  873. /*354*/ void OpenJournalPRCTab (string sOfferId);
  874. /*355*/ string GetPlotGUID (string strPlotResRef);
  875. /*356*/ void ApplyEffectModifyProperty (effect eModifyPropertyEffect);
  876. /*357*/ void RemoveEffectModifyProperty (effect eModifyPropertyEffect); // == 854 (356) COMMAND_APPLYEFFECTMODIFYPROPERTY
  877. /*358*/ int GetM2DARowIdFromRowIndex (int n2DA, int nRowIndex, string s2DA);
  878. /*359*/ int IsPRC (string sDeprecated, int nDeprecated);
  879. /*35A*/ void SetPartyPickerStage (string sAreaName, string s2DAName);
  880. /*35B*/ void _undocumented_action_035B ( ); // not declared in script.ldf (patch.003): COMMAND_GETABILITYLIST
  881. /*35C*/ void _undocumented_action_035C ( ); // not declared in script.ldf (patch.003): COMMAND_REQUESTTARGET
  882. /*35D*/ void _undocumented_action_035D ( ); // not declared in script.ldf (patch.003): COMMAND_SETPLOTACTIONCOOLDOWN
  883. /*35E*/ void _undocumented_action_035E ( ); // not declared in script.ldf (patch.003): COMMAND_ISPACKAGELOADED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement