Skip to content

v1.0.51

Choose a tag to compare

@BuilderDemo7 BuilderDemo7 released this 10 Mar 15:52
· 32 commits to main since this release

Changelog

13/Mar/2024 17:05:
Whoops! I forgot to fix some errors before compiling LuaC, but now it is fixed and etc.

Mission Script:
Camera object's matrix was solved and fixed,
More CharacterControl node functions were added:

  • SetCharacterTakeHealth(character, amount)
  • SetCharacterAddHealth(character, amount)
  • SetCharacterHealthTo(character, newHealth)
  • SetCharacterAddFelony(character, amount)
  • SetCharacterTakeFelony(character, amount)
  • SetCharacterFelonyTo(character, newFelony)
  • SetCharacterVulnerability(character, vulnerability)
  • SetCharacterUsePadFile(character, vehicle, fileName, numRecordings)
  • GiveCharacterWeapon(character, weapon, clips)
  • SetCharacterUnStuckInVehicle(character) -> Can be used to make a character be able to get out of his current vehicle
  • SetCharacterStuckInVehicle(character) -> Characters will not be able to get out of their vehicle with this enabled; used in driving games
  • SetCharacterStopAnimation(character)
  • SetCharacterPlayAnimation(character, animationName, animationId)
  • SetCharacterPositionTo(character, x, y, z, angle = 0, vehicle = null) -> Teleports a character; can be also teleported with their vehicle
  • SetCharacterPositionTo(character, targetActor, vehicle = null)
  • SetCharacterPersonalityIndexTo(character, personality) -> Fun fact: seems to be never used by the game's missions
  • ClearCharacterWeapons(character)
  • SetCharacterGetOutOfVehicle(character)
  • CharacterEquipWeapon(character)
  • CharacterReholsterWeapon(character)