Advertisement
Nayas

Firefall 0.6.1623r61151 functions raw

May 9th, 2013
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 22.85 KB | None | 0 0
  1. ui_fire_event <event_name> <arg1_type, arg1_name, arg1_value, arg2_name, ...>
  2. Game.GetPreviewItemInfo( item_info, attribute_table )
  3. Game.CallMenuAction(id)
  4. {armyId, hostile} = Game.GetTeamInfo(teamId)
  5. {teamIds} = Game.GetTeams()
  6. {name, location} = Game.GetZoneInfo(zoneId)
  7. true/false = Game.IsWorldMapVisible()
  8. fields = Game.GetEncounterUiFields(enc_id)
  9. fields = Game.GetSinCardFields(obj_id)
  10. Game.GetSubzoneNameAt(x,y)
  11. Game.RespondToServerQuery(query_id, option_name, retval)
  12. Game.ShowWorldMap(show)
  13. Game.ZoomWorldMap(percent)
  14. {trailID} = Game.ShowTrailTo(Trail_ID,x,y,z)
  15. Game.SetTrailColor(Trail_ID, R, G, B)
  16. Game.SetTrailColor(Trail_ID, title)
  17. Game.Game_ClearTrail(trail_Id)
  18. Game.SetTrailColor(Trail_ID, alpha)
  19. Game.SetMapInputMode(roam/cursor/ignore)
  20. Game.SetRadarRange(meters)
  21. Game.SetMapCoordinates(x, y, z)
  22. Game.SetMapCruiseControl(x, y, z)
  23. Game.SetWayPoint(x, y, z)
  24. {x,y,z} = Game.GetWayPoint()
  25. Game.ClearWayPoint()
  26. {ToolTip, x, y, z, type, id} = Game.GetMapMarkerList()
  27. {ToolTip, x, y, z, type, broadcastPriority, showWaypoint, introRadioID, showNavigation, stage2RadioId, stage3RadioId, stage4RadioId, stage5RadioId} = Game.GetMapMarkerInfo([id], onlyGlobal <optional boolean>)
  28. {ids} = Game.GetWorldObjectList()
  29. {name, position, radius, zoneId} = Game.GetWorldObjectInfo(objId)
  30. status = Game.GetWorldObjectStatus(objId)
  31. worldObjectId = Player.GetCurrentOutpostId()
  32. canDetectResources = Player.CanDetectResources()
  33. {x,y,z} = Game.GetCameraPos()
  34. success = Game.SlashCommand(command)
  35. Game.SendDialogResponse(dialogId, responseIdx)
  36. nil/float = Game.GetGameVariable(varName)
  37. info = Game.GetItemInfoByType(itemTypeId[, attributes_modifiers])
  38. {} = Game.GetCertificateInfo(certificationId)
  39. {} = Game.GetCreationLoadout(battleframe_type_id)
  40. {power={[stage]={base_power, damage_pct_rate, max_variance}}, mass={[i]={mass_pct, speed_mult}} } = Game.GetFrameConstraintsMultipliers(battleframe_type_id)
  41. Game.VoteForPvPMatch(bool balanced)
  42. Game.QueueForPvP(matchIds[, queue])
  43. Game.AcceptPvPMatch(accept)
  44. id = Game.GetPvPMatchId()
  45. id = Game.IsInPvP()
  46. { queues={[i]={id, name, type, playersNeeded}}, name, type } = Game.GetPvPQueue()
  47. id = Game.GetFoundMatch()
  48. Game.RequestDuel( username )
  49. Game.ConfirmDuel( username, accepted )
  50. {freeLook, firstPerson, entityId} = Player.GetSpectatorMode()
  51. = Player.SpectatePlayer( guid )
  52. 1/2 = Player.GetWeaponIndex()
  53. mode, number_of_modes = Player.GetWeaponMode()
  54. {WeaponName, WeaponType, AmmoPerBurst, BurstDuration, RateOfFire, ClipSize, MaxAmmo, Range[, MaxZoom, UnderbarrelId, AttackAbility, BurstAbility]} = Player.GetWeaponInfo([main])
  55. {Ammo, AmmoType, Clip, FireRateMod, [Zoom, ZoomedIn]} = Player.GetWeaponState([main])
  56. {ChargeType, ChargeTime, ChargeAmt, ChargeRate, OverChargeTime, OverChargeAmt} = Player.GetWeaponCharge([main])
  57. success = Player.SlotTech(itemId, sdbItemId)
  58. success = Player.ActivateTech(sdbItemId)
  59. {name, entityId, interactionType, faction, objectType} = Player.GetInteracteeInfo([entityId])
  60. success = Player.BeginInteraction(entityId)
  61. success = Player.EndInteraction()
  62. {[i]={name, id}} = Player.GetHardpointChoices(entityId, hardpointType)
  63. Player.SelectHardpoint(selectionId)
  64. Player.SetForcedAfk(true/false)
  65. Player.EquipLoadout(loadout_id, using_terminal_id)
  66. info = Player.GetItemInfo(itemId)
  67. {items=[{item_id,item_type}], resources=[{quantity,item_type}]} = Player.GetItems()
  68. {ids}, lastIdx = Player.GetItemIdList([ownerId=root, idxBySlot=false])
  69. {level, player_level_xp, total_level_xp} = Player.GetClassProgression([class])
  70. {ids}, lastIdx = Player.GetAchievementIDs(category_id)
  71. Player.PlaySinImprint( achievement_id, vod_id )
  72. Game.GetRecipe( recipe_id )
  73. {name, parentResourceTypeId} = Game.GetResourceTypeInfo( resourceTypeId )
  74. {[i]=itemTypeId} = Game.GetItemTypesOfResourceType( resourceTypeId )
  75. Game.GetRootItemInfo( item_id )
  76. Game.AddRecipeToCart( recipe_id )
  77. Game.RemoveRecipeFromCart( recipe_id )
  78. {name, colors, iconId} = Game.GetArmyInfo(armyId)
  79. {name, group, type, faction, hostile, bounds, ownerId, damageable, type} = Game.GetTargetInfo(entityId)
  80. {pos} = Game.GetTargetBoneInfo(entityId, boneName)
  81. hp_names = Game.GetTargetHardpoints(entityId)
  82. {inSin, visible, active, interact, voice, text, mission, target_lockable, target_locked} = Game.GetTargetStatus(entityId)
  83. {Health, MaxHealth, health_pct} = Game.GetTargetVitals(entityId)
  84. {RemainingSeconds} = Game.GetTargetRespawnTime(entityId)
  85. {x, y, z, length, width, height} = Game.GetTargetBounds(entityId)
  86. targetIds = Game.GetAvailableTargets()
  87. available = Game.IsTargetAvailable(entityId)
  88. entityId = Game.GetTargetIdByName(name)
  89. charInfo = Game.GetTargetCharacterInfo(entityId)
  90. charInfo = Game.GetCharacterTypeInfo(charTypeId)
  91. Game.HighlightEntity(entityId[, shader_color_idx])
  92. entityId = Player.GetTargetId()
  93. state = Player.GetCharacterState()
  94. inVehicle = Player.IsInVehicle()
  95. entityId = Player.GetAttachmentId()
  96. {x,y,z} = Player.GetPosition()
  97. pitch, yaw = Player.GetAim()
  98. {x,y,z} = Player.GetAimPosition()
  99. {x,y,z} = Player.GetSelfFeedbackPosition()
  100. success = Player.TrackMission(missionId)
  101. success = Player.AbortMission(missionId)
  102. missionId = Player.GetTrackedMissionId()
  103. {} = Player.GetMissionIds()
  104. {name, description, status, objectives[]={name, description, active, completed, waypoint={name, x,y,z}}} = Player.GetMissionInfo(missionId)
  105. {name, description, status, objectives[]={name, description, active, completed, waypoint={name, x,y,z}}} = Player.GetDailyChallengeInfo(missionId)
  106. {} = Player.GetDailyChallengeIds()
  107. {} = Player.GetDailyChallengeTime()
  108. {progress} = Player.GetDailyChallengeProgress()
  109. {} = Game.GetResourceScanIds()
  110. {x,y,z, ownerId, composition[i]={itemTypeId, percent}} = Game.GetResourceScanInfo(scanId)
  111. {resourceNodeId, composition, destroyed, completion} = Game.GetResourceNodeCompleteResults()
  112. success = Game.AcceptResourceScan(scanId, accepted)
  113. { x, y, z, composition } = Game.GetKnownResourceLocations()
  114. Vehicle.CalldownVehicle(vehicleId)
  115. {} = Vehicle.GetVehicleConfig(vehicleId)
  116. Vehicle.GetVehicleInfo(vehicleId)
  117. Vehicle.ConfigureVehicle(vehicleId / false)
  118. Vehicle.GetComponentInfo(componentId)
  119. Vehicle.InstallComponent(componentId, slot)
  120. Vehicle.RemoveComponent(category, slot)
  121. Vehicle.CommitConfiguration(vehicleId)
  122. ActivityDirector.RequestNewActivity()
  123. ActivityDirector.RequestMission()
  124. ActivityDirector.LogDirectActivityRequest()
  125. ActivityDirector.LogActivityPush(boredGauge)
  126. ActivityDirector.LogLongTimeWithoutPush()
  127. width, height = Paperdoll.GetDims()
  128. width, height = Paperdoll.Create(width, height)
  129. success = Paperdoll.SetEquipment(table[, reset=true])
  130. success = Paperdoll.SetTeam(team_id)
  131. Paperdoll.PlayEmote(emoteName)
  132. Paperdoll.SetSpin(degreesPerSecond)
  133. Paperdoll.SetRotation(degrees)
  134. Paperdoll.SetScale(scale)
  135. Paperdoll.SetPosition(x,y,z)
  136. success = Paperdoll.SetEntityID(entityId)
  137. Radio.StartRadioDialog(radio_id_string)
  138. Radio.StartRadioByMarkerID(marker_id)
  139. info = Database.GetHeadInfo(head_id)
  140. info = Database.GetHeadAccessoryInfo(headacc_id)
  141. Replay.SetAdvanceRate( rate )
  142. Replay.SetTime( time )
  143. Replay.Skip( time_amount )
  144. Sinvironment.Activate(show)
  145. true/false = Sinvironment.IsActive()
  146. Sinvironment.LoadZone(ZoneName)
  147. model = Sinvironment.CreateModel(LOD, outlines = true)
  148. Sinvironment.RemoveModel(modelId)
  149. Sinvironment.RemoveLight(lightId)
  150. true/false = Sinvironment.IsValidModel(modelId)
  151. {x,y,z} = Sinvironment.GetModelPosition(modelId)
  152. Sinvironment.SetModelPosition(modelId, {x,y,z})
  153. Sinvironment.FinishModelPosition(modelId)
  154. Sinvironment.QueueModelPosition(modelId, {x,y,z}, duration, [delay, smooth_type, finish?])
  155. Sinvironment.PositionModelTo(modelId, {x,y,z}, duration, [delay, smooth_type, finish?])
  156. scale = Sinvironment.GetModelScale(modelId)
  157. Sinvironment.SetModelScale(modelId, scale)
  158. Sinvironment.FinishModelScale(modelId)
  159. Sinvironment.QueueModelScale(modelId, scale, duration, [delay, smooth_type, finish?])
  160. Sinvironment.ScaleModelTo(modelId, scale, duration, [delay, smooth_type, finish?])
  161. {axis,angle} = Sinvironment.GetModelOrientation(modelId)
  162. Sinvironment.SetModelOrientation(modelId, {axis,angle})
  163. Sinvironment.FinishModelOrientation(modelId)
  164. Sinvironment.QueueModelOrientation(modelId, {axis,angle}, duration, [delay, smooth_type, finish?])
  165. Sinvironment.OrientationModelTo(modelId, {axis,angle}, duration, [delay, smooth_type, finish?])
  166. scale = Sinvironment.GetModelAlpha(modelId)
  167. Sinvironment.SetModelAlpha(modelId, alpha)
  168. Sinvironment.FinishModelAlpha(modelId)
  169. Sinvironment.QueueModelAlpha(modelId, alpha, duration, [delay, smooth_type, finish?])
  170. Sinvironment.AlphaModelTo(modelId, alpha, duration, [delay, smooth_type, finish?])
  171. anchor = Sinvironment.GetModelAnchor(modelId)
  172. anchor = Sinvironment.GetLightAnchor(lightId)
  173. {x, y, z, width, depth, height} = Sinvironment.GetModelBounds(modelId)
  174. Sinvironment.EnableMouseFocus(modelId, enabled)
  175. Sinvironment.SetModelLOD(modelId, LOD)
  176. Sinvironment.LoadItemType(modelId, itemTypeId)
  177. Sinvironment.SetModelMaterialOverride(modelId)
  178. ShaderParamId = Sinvironment.GetModelShaderParamID(modelId, shaderParamName); -- CAN BE NIL
  179. Sinvironment.SetModelShaderParam(modelId, paramId, value)
  180. Sinvironment.ShaderParamModelTo(modelId, paramId, value, duration, [delay, smooth_type, finish?])
  181. Sinvironment.LoadMonster(modelId, monsterTypeId)
  182. Sinvironment.LoadCharacterComponent(modelId, slot, componentId)
  183. Sinvironment.LoadCharacterOrnament(modelId, slot, ornamentsGroupId)
  184. Sinvironment.GetOrnamentVisuals(ornamentsGroupId, battleframeId, race, sex)
  185. Sinvironment.LoadCharacterEyes(modelId, eyeRecordId)
  186. Sinvironment.SetCharacterWarpaint(modelId, warpaint_table)
  187. Sinvironment.SetCharacterSex(modelId, sex)
  188. Sinvironment.PlayModelAnimation(modelId, animationName)
  189. Sinvironment.BeginPlaceTattoo(modelId, tattooDecalId, tattooType)
  190. Sinvironment.EndPlaceTattoo(accept)
  191. Sinvironment.SetTattooKeyState(key, pressed)
  192. Sinvironment.SetTattooMatrix(matrix)
  193. Sinvironment.SetTattoos(modelId, tattooArray, tattooType)
  194. aspectRatio = Sinvironment.SetTattooTexture(sceneObject, tattooDecalId)
  195. Sinvironment.BeginPlaceTattoo(modelId, patterns, editingPatternIdx)
  196. Sinvironment.EndEditPattern(action); with action = 'accept', 'revert' or 'delete'
  197. Sinvironment.SetPatternKeyState(key, pressed)
  198. Sinvironment.SetPatternTransform(transform)
  199. Sinvironment.SetPatterns(modelId, patternArray)
  200. Sinvironment.SetGradients(modelId, tattooGradientGroupIds)
  201. Sinvironment.SetManualCamera(pos={x,y,z}, aimAt={x,y,z} [, transition_time=0, smooth_type=<'smooth', 'ease-in', 'ease-out', 'linear'>])
  202. Sinvironment.SetAnimatedCamera(model_id, hard_point_name)
  203. success = Sinvironment.PreviewVoice(voiceId)
  204. Sinvironment.ParamTo(lightId, fovx[, fovy, softness])
  205. Sinvironment.ParamTo(lightId, fadeInStart, fadeInEnd, fadeOutStart, fadeOutEnd)
  206. Sinvironment.SetLightColor(lightId, r, g, b[, colorIntensity]
  207. Lobby.Create()
  208. Create()
  209. Lobby.Leave()
  210. Lobby.Invite(name, team (or spectator)
  211. Invite(name, team (or spectator)
  212. Lobby.AcceptInvite(name)
  213. AcceptInvite(name)
  214. Lobby.DeclineInvite(name)
  215. DeclineInvite(name)
  216. Lobby.Kick(name)
  217. Kick(name)
  218. Lobby.SetReady(ready (optional))
  219. SetReady(ready (optional))
  220. Lobby.ReadyCheck()
  221. ReadyCheck()
  222. ReadyCheck()
  223. Lobby.SwapTeam(playerName1, playerName2 (optional)
  224. SwapTeam(playerName1, playerName2 (optional)
  225. Lobby.SetTeam(playerName, team (or spectator)
  226. SetTeam(playerName, team (or spectator)
  227. Lobby.SetZoneId(zoneId)
  228. SetZoneId(zoneId)
  229. Lobby.SetPowerPrivilege(name, privileged)
  230. SetPowerPrivilege(name, privileged)
  231. Lobby.StartMatch()
  232. StartMatch()
  233. parameters = Lobby.GetMatchParameters()
  234. roster = Lobby.GetRoster()
  235. roster = Lobby.GetInvites()
  236. availableMaps = Lobby.GetAvailableMaps()
  237. log(message)
  238. debug(message)
  239. warn(message)
  240. error(message)
  241. url_encode(URL)
  242. assert(condition [, message])
  243. handle = callback(function, param, delay_sec)
  244. __postevent(event_name, [args])
  245. success = cancel_callback(handle)
  246. success = cancel_callback(handle)
  247. execute_callback(handle)
  248. execute_callback(handle)
  249. table = jsontotable(json_string)
  250. isequal(val1, val2)
  251. {name, namewhat, short_src, currentline} = debug_getinfo([stack_level])
  252. Component.GenerateEvent(eventName, [argtable])
  253. text = Component.LookupText(key)
  254. text = Component.RemoveLocalizationTracking(string)
  255. {red, green, blue, alpha, rgb, argb} = Component.LookupColor(key)
  256. name, title, author, description = Component.GetInfo()
  257. widget = Component.GetWidget(id)
  258. frame = Component.GetFrame(name)
  259. success = Component.PostMessage(component_name:frame_name, type_str [, data_str])
  260. Component.FosterWidget accepts either strings (COMPONENT_NAME:WIDGET_ID) or widget references for parameters
  261. success = Component.FosterWidget(child_widget, parent_widget[, fosterLevel])
  262. success = Component.BeginDragDrop(dragtype, dragdata, [callback])
  263. Component.EndDragDrop(dropped)
  264. Component.SetDragAccept(accept)
  265. Component.SetInputMode(modestr)
  266. Component.DebugSaveTexture(Texture, FilePath)
  267. dims = Component.GetTextureInfo(Texture[, Region])
  268. x, y = Component.GetTitleSafe()
  269. WIDGET = Component.CreateWidget(blueprint, parent[, name])
  270. Component.RemoveWidget(WIDGET)
  271. Component.RemoveSceneObject(SCENE_OBJECT)
  272. Component.RemoveAnchor(ANCHOR)
  273. Component.IsWidget(WIDGET)
  274. FRAME = Component.CreateFrame(type[, name])
  275. SCENEOBJECT = Component.CreateSceneObject(record_ref[,name])
  276. SCENEOBJECT = Component.CreateAnchor(name)
  277. Component.RemoveFrame(FRAME)
  278. success = Component.CreateRenderTarget(name, width, height[, regions])
  279. success = Component.SetRenderTargetRegion(textureName, idx, regionName, top, left, right, bottom)
  280. success = Component.RemoveRenderTarget(name)
  281. Component.SaveSetting(key, value)
  282. value = Component.GetSetting([Component], key)
  283. {keys} = Component.GetSettingKeys([Component])
  284. Component.RegisterKeyAction(name, function[, trigger='press'])
  285. Component.UnregisterKeyAction(keyActionName)
  286. Component.ActivateUserKeybinds(active)
  287. Component.AreUserKeybindsActive()
  288. keyCode = Component.BindUserKey(name, keyCode)
  289. keycode = Component.GetUserBoundKey(name)
  290. anchor = SCENEOBJECT:GetAnchor()
  291. value = SCENEOBJECT:GetParam(name)
  292. SCENEOBJECT:SetParam(name, value)
  293. SCENEOBJECT:ParamTo(name, value, duration, [delay, smooth_type, finish?])
  294. SCENEOBJECT:QueueParam(name, value, duration, [delay, smooth_type, finish?])
  295. SCENEOBJECT:BindEvent(event_name, function_name)
  296. SCENEOBJECT:SetParam(name, value)
  297. SCENEOBJECT:ParamTo(name, value, duration, [delay, smooth_type, finish?])
  298. success = SCENEOBJECT:Show([vis,delay])
  299. success = SCENEOBJECT:Hide([invis, delay])
  300. value = ANCHOR:GetParam(name)
  301. ANCHOR:SetParam(name, value)
  302. ANCHOR:ParamTo(name, value, duration, [delay, smooth_type, finish?])
  303. ANCHOR:QueueParam(name, value, duration, [delay, smooth_type, finish?])
  304. ANCHOR:FinishParam(name)
  305. WIDGET:BindEvent(event_name, function_name)
  306. ANCHOR:SetParent(parent,[continuous, positionOnly])
  307. ANCHOR:BindToEntity(entity, [hardpoint,continuous, positionOnly])
  308. ANCHOR:BindToCamera([continuous, positionOnly])
  309. ANCHOR:BindToWorld([continuous, positionOnly])
  310. ANCHOR:LookAt(anchor, anchior_object)
  311. ANCHOR:SetConnecting(isConnecting [, connectionScale])
  312. ANCHOR:SetParam(name, value)
  313. ANCHOR:ParamTo(name, value, duration, [delay, smooth_type, finish?])
  314. ANCHOR:FinishParam(name)
  315. name, type = FRAME:GetInfo()
  316. name = FRAME:GetName()
  317. tag = FRAME:GetTag()
  318. child = FRAME:GetChild(name or index)
  319. count = FRAME:GetChildCount()
  320. {left, top, right, bottom, width, height} = WIDGET:GetBounds(unscaled=true)
  321. success = FRAME:Show([vis,delay])
  322. success = FRAME:Hide([invis, delay])
  323. vis = FRAME:IsVisible()
  324. value = FRAME:GetParam(name)
  325. FRAME:SetParam(name, value)
  326. FRAME:ParamTo(name, value, duration, [delay, smooth_type, finish?])
  327. FRAME:QueueParam(name, value, duration, [delay, smooth_type, finish?])
  328. FRAME:FinishParam(name)
  329. FRAME:SetDims(dims)
  330. dims = FRAME:GetDims()
  331. FRAME:MoveTo(dims (string or table), duration_s [, delay_s, smooth_type, finish?])
  332. FRAME:QueueMove(dims (string or table), duration_s [, delay_s, smooth_type, finish?])
  333. dims = FRAME:GetInitialDims()
  334. FRAME:BindEvent(event_name, function_name or function_ref)
  335. FRAME:SetDepth(depth)
  336. depth = FRAME:GetDepth()
  337. id, name, type = WIDGET:GetInfo()
  338. name = WIDGET:GetName()
  339. id = WIDGET:GetId()
  340. id = WIDGET:GetType()
  341. {left, top, right, bottom, width, height} = WIDGET:GetBounds(unscaled=true)
  342. tag = WIDGET:GetTag()
  343. WIDGET:SetTag(tag)
  344. parent = WIDGET:GetParent()
  345. frame = WIDGET:GetFrame()
  346. child = WIDGET:GetChild(name or index)
  347. count = WIDGET:GetChildCount()
  348. idx = WIDGET:GetChildIndex()
  349. fosterParent = WIDGET:GetFosterParent()
  350. WIDGET:SetClipChildren(bool)
  351. bool = WIDGET:GetClipChildren()
  352. widget_ref_path = WIDGET:GetPath()
  353. WIDGET:Show([vis])
  354. WIDGET:Hide([invis])
  355. vis = WIDGET:IsVisible()
  356. text = WIDGET:GetText()
  357. WIDGET:SetText(text)
  358. WIDGET:SetUnderline(bool)
  359. WIDGET:SetTextColor(fg [, bg, start_pos, end_pos])
  360. value = WIDGET:GetParam(name)
  361. WIDGET:SetParam(name, value)
  362. WIDGET:ParamTo(name, value, duration, [delay, smooth_type, finish?])
  363. WIDGET:QueueParam(name, value, duration, [delay, smooth_type, finish?])
  364. WIDGET:FinishParam(name)
  365. WIDGET:FinishMove()
  366. WIDGET:MoveTo(dim_string, duration_s [, delay_s , smooth_type, finish?])
  367. WIDGET:QueueMove(dim_string, duration_s [, delay_s , smooth_type, finish?])
  368. dims = WIDGET:GetDims([final])
  369. dims = WIDGET:GetInitialDims()
  370. WIDGET:SetDims(dims (string or table))
  371. bool = WIDGET:IsMouseEater()
  372. WIDGET:EatMice(eat)
  373. success = WIDGET:SetFocus()
  374. bool = WIDGET:HasFocus()
  375. success = WIDGET:ReleaseFocus()
  376. WIDGET:BindEvent(event_name, function_name)
  377. HTTP.IssueRequest(url, HTTP METHOD ,params_table, callback)
  378. success = FRAME:SetFocus()
  379. {x,y} = FRAME:GetCursorPos()
  380. FRAME:SetInteractable(true/false)
  381. FRAME:SetInteractable(true/false)
  382. anchor = FRAME:GetAnchor()
  383. FRAME:SetBounds(left, top, width, height)
  384. FRAME:AddWebCallback('name', func)
  385. FRAME:AddWebValue('name', value)
  386. FRAME:CallWebFunc('name', ...)
  387. FRAME:SetUrlFilters('protocol://host/somepath/*', 'filter2', ...)
  388. FRAME:LogWebRequests(boolean)
  389. FRAME:EnableTypeTarget(boolean)
  390. FRAME:IsTypeTarget(boolean)
  391. TEXTURE_FRAME:SetTexture(name [, region])
  392. TEXTURE_FRAME:SetRegion(region)
  393. name, region = TEXTURE_FRAME:GetTexture()
  394. region = TEXTURE_FRAME:GetRegion()
  395. FRAME:SetTexture(texture [, region])
  396. FRAME:SetEatsMice(eatsMice)
  397. OBJECT:SetRegions([fgregion, bgregion])
  398. OBJECT:PoofEffect(low_p, hi_p [, duration])
  399. OBJECT:ClearEffects()
  400. OBJECT:SetRegions([region])
  401. BORDER:SetPadding(padding)
  402. padding = BORDER:GetPadding()
  403. check = WIDGET:GetCheck()
  404. WIDGET:SetCheck(checked)
  405. idx = WIDGET:AddOption(name, [value], [fgcolor], [bgcolor])
  406. WIDGET:ClearOptions()
  407. text, value, idx = WIDGET:Query()
  408. success = WIDGET:Select(index[, fireChange])
  409. WIDGET:RemoveOption(value)
  410. idx = WIDGET:AddOption(name, [value, selected, fg-color, bg-color])
  411. success = WIDGET:SetOption(index, name, [value, fg-color, bg-color)
  412. success = WIDGET:IsSelected(index)
  413. WIDGET:ClearOptions()
  414. WIDGET:RemoveOption(value)
  415. text, value, idx = WIDGET:Query()
  416. success = WIDGET:Select(index, selected[, fireChange])
  417. success = WIDGET:SetCaption(caption)
  418. success = WIDGET:GetCaption()
  419. data, type = WIDGET:GetDropInfo()
  420. WIDGET:SetAcceptType(string)
  421. ICON:SetIcon(iconId)
  422. iconId = ICON:GetIcon()
  423. ICON:ClearIcon()
  424. STILL_ART:SetTexture(name [, region])
  425. STILL_ART:SetRegion(region)
  426. name, region = STILL_ART:GetTexture()
  427. region = STILL_ART:GetRegion()
  428. TEXTINPUT:SetTextKey(key)
  429. TEXTINPUT:SetKerningMult(mult)
  430. TEXTINPUT:SetLeadingMult(mult)
  431. numlines = TEXTINPUT:GetNumLines()
  432. pixels = TEXTINPUT:GetLineHeight()
  433. {width, height} = TEXTINPUT:GetTextDims([testString, clipping])
  434. TEXTINPUT:SetAlignment(dir, alignment)
  435. TEXTINPUT:GetAlignment(dir,align)
  436. TEXTINPUT:SetCaret(position)
  437. TEXTINPUT:SelectText(start,end)
  438. TEXT:SetFont(fontName)
  439. TEXT:SetMasked(masked)
  440. TEXT:SetWhitespace(whitespace)
  441. TEXT:SetTextKey(key)
  442. TEXT:SetKerningMult(mult)
  443. TEXT:SetLeadingMult(mult)
  444. numlines = TEXT:GetNumLines()
  445. pixels = TEXT:GetLineHeight()
  446. {width, height} = TEXT:GetTextDims([testString, clipping])
  447. TEXT:SetAlignment(dir, alignment)
  448. TEXT:GetAlignment(dir)
  449. TEXT:SetFont(fontName)
  450. TEXT_MARKER:SetIndex(idx)
  451. idx = TEXT_MARKER:GetIndex()
  452. TEXT_MARKER:SetAlign(idx)
  453. idx = TEXT_MARKER:GetAlign()
  454. TIMER:StartTimer([duration, countdown])
  455. TIMER:StopTimer()
  456. TIMER:SetFormat(format)
  457. TIMER:SetFont(format)
  458. TIMER:SetAppendText(text)
  459. {width, height} = TIMER:GetTextDims([clipping])
  460. TIMER:SetTimeScalar([scalar])
  461. FLIPBOOK:Play([speed_mult, loops])
  462. FLIPBOOK:SetFrame(frame)
  463. frame = FLIPBOOK:GetCurrentFrame()
  464. frameCount = FLIPBOOK:GetFrameCount()
  465. FLIPBOOK:Pause()
  466. FLIPBOOK:Reset()
  467. FLIPBOOK:Stop()
  468. running = FLIPBOOK:IsRunning()
  469. speed = FLIPBOOK:GetSpeed()
  470. ANIMATION:SetPercent(percent)
  471. percent = ANIMATION:GetPercent()
  472. ANIMATION:PlayTo(stop_percent, duration_sec [, delay_sec, smooth_type])
  473. ANIMATION:Play(start_percent, stop_percent, duration_sec [, loop, smooth_type])
  474. start, end = ANIMATION:GetTrack(trackname)
  475. duration_sec = ANIMATION:GetDefaultDuration()
  476. count = ANIMATION:GetNumObjects()
  477. index = ANIMATION:FindObject(name)
  478. index = ANIMATION:SetObjectTexture(objidx, texture [, region])
  479. index = ANIMATION:SetObjectRegion(objidx, region)
  480. index = ANIMATION:SetTexture(texture [, region])
  481. index = ANIMATION:SetRegion(region)
  482. name, region = ANIMATION:GetTexture([idx])
  483. region = ANIMATION:GetRegion([idx])
  484. ANIMATION:SetBinding(binding)
  485. index = RETICLE:SetReticleParams(texture, key-region, dot-region, numkeys [, rotation])
  486. GLYPH:SetAlignment(dir, alignment)
  487. GLYPH:GetAlignment(dir)
  488. success = MOVIE:SetPercent(percent)
  489. percent = MOVIE:GetPercent()
  490. MOVIE:Play([loop?, start_percent, stop_percent, rate_mult])
  491. MOVIE:Pause()
  492. MOVIE:Stop()
  493. MOVIE:SetMute(mute)
  494. mute = MOVIE:GetMute()
  495. success = MOVIE:Load(source_file, [audio?])
  496. is_loaded = MOVIE:IsLoaded()
  497. MOVIE:Unload()
  498. MASK:FinishMaskMove()
  499. MASK:MoveTo(dim_string, duration_s [, delay_s , smooth_type, finish?])
  500. MASK:QueueMask(dim_string, duration_s [, delay_s , smooth_type, finish?])
  501. dims = MASK:GetMaskDims()
  502. MASK:SetMaskDims(dims (string or table))
  503. SLIDER:SetPercent(percent)
  504. percent = SLIDER:GetPercent()
  505. SLIDER:SetSteps(step_count)
  506. step_count = SLIDER:GetSteps()
  507. SLIDER:SetScrollSteps(steps)
  508. steps = SLIDER:GetScrollSteps()
  509. SLIDER:SetJumpSteps(steps)
  510. steps = SLIDER:GetJumpSteps()
  511. KEYCATCHER:ListenForKey()
  512. KEYCATCHER:StopListening()
  513. keyCode = KEYCATCHER:GetKeyCode()
  514. alt = KEYCATCHER:GetAlt()
  515. start, end = MAPMARKER:GetTrack(trackname)
  516. count = MAPMARKER:GetNumObjects()
  517. index = MAPMARKER:FindObject(name)
  518. index = MAPMARKER:SetObjectTexture(objidx, texture [, region])
  519. index = MAPMARKER:SetObjectRegion(objidx, region)
  520. index = MAPMARKER:SetTexture(texture [, region])
  521. index = MAPMARKER:SetRegion(region)
  522. name, region = MAPMARKER:GetTexture([idx])
  523. region = MAPMARKER:GetRegion([idx])
  524. MAPMARKER:SetPosition(x,y,z)
  525. {x,y,z} = MAPMARKER:GetPosition()
  526. MAPMARKER:SetTargetId(targetId)
  527. targetId = MAPMARKER:GetTargetId()
  528. MAPMARKER:SetAnchorPos(x,y,z)
  529. {x,y,z} = MAPMARKER:GetAnchorPos()
  530. MAPMARKER:SetAnchorId(targetId)
  531. targetId = MAPMARKER:GetAnchorId()
  532. MAPMARKER:SetMapping(mapping)
  533. mapping = MAPMARKER:GetMapping()
  534. MAPMARKER:SetEdgeTracking(true/false)
  535. tracking = MAPMARKER:GetEdgeTracking()
  536. out = MAPMARKER:IsOffMap()
  537. WEB_IMAGE:SetUrl(url, [callback])
  538. url = WEB_IMAGE:GetUrl()
  539. WEB_IMAGE:ClearUrl()
  540. SHADOW:SetTarget(widget)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement