Utils
You can see some utils functions
Last updated
Was this helpful?
You can see some utils functions
Last updated
Was this helpful?
Load addon fonts
Types
Arguments
Descriptions
Optional
itemNameScale
The item name scale (you have to responsive it with AAS.ScrH)
✔️
Break with \n the text after x characters in the line
You need to use the function in the function
Types
Arguments
Descriptions
Optional
text
The text to break
max
The max of characters by line
Return :
Types
Parameters
Descriptions
newText
The broken text
Example:
Output:
Types
Arguments
Descriptions
Optional
pos
The vector to convert
❌
offset
The offset
❌
ang
The angle
❌
Return :
Types
Parameters
Descriptions
newVector
The converted vector
Types
Arguments
Descriptions
Optional
ang
The angle to convert
❌
offset
The offset
❌
Return :
Types
Parameters
Descriptions
newAng
The converted angle
Get the item table from the uniqueId
Types
Arguments
Descriptions
Optional
uniqueId
The uniqueId where you want to get the item table
❌
Return :
Types
Parameters
Descriptions
itemTable
The item table (or {} if not found)
Convert the with the offset
Convert the with the offset