Advertisement
Nayas

Firefall 0.6.1623r61151 functions

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