v1.0.51
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 vehicleSetCharacterStuckInVehicle(character)-> Characters will not be able to get out of their vehicle with this enabled; used in driving gamesSetCharacterStopAnimation(character)SetCharacterPlayAnimation(character, animationName, animationId)SetCharacterPositionTo(character, x, y, z, angle = 0, vehicle = null)-> Teleports a character; can be also teleported with their vehicleSetCharacterPositionTo(character, targetActor, vehicle = null)SetCharacterPersonalityIndexTo(character, personality)-> Fun fact: seems to be never used by the game's missionsClearCharacterWeapons(character)SetCharacterGetOutOfVehicle(character)CharacterEquipWeapon(character)CharacterReholsterWeapon(character)