API FactionToSignedFaction: Difference between revisions
From Vendetta Lua
Jump to navigationJump to search
Ravenwolf397 (talk | contribs) No edit summary |
Ravenwolf397 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
=== FactionToSignedFaction === | === FactionToSignedFaction === | ||
'''Definition:'''<br> | '''Definition:'''<br> | ||
FactionToSignedFaction(integer | FactionToSignedFaction(integer standing) -> integer | ||
<br> | <br> | ||
'''Description:'''<br> | '''Description:'''<br> | ||
Convert absolute faction values (0 to 65535) into signed faction values (-1000 to 1000) | Convert absolute faction standing values (0 to 65535) into signed faction standing values (-1000 to 1000) | ||
<br> | <br> | ||
'''Arguments:'''<br> | '''Arguments:'''<br> | ||
'' | ''standing'' absolute (0 to 65535) faction standing value | ||
<br> | <br> | ||
'''Returns:'''<br> | '''Returns:'''<br> | ||
Signed (-1000 to 1000) faction value, rounded down. | Signed integer (-1000 to 1000) faction standing value, rounded down. | ||
<br> | <br> |
Latest revision as of 06:22, 25 June 2023
FactionToSignedFaction
Definition:
FactionToSignedFaction(integer standing) -> integer
Description:
Convert absolute faction standing values (0 to 65535) into signed faction standing values (-1000 to 1000)
Arguments:
standing absolute (0 to 65535) faction standing value
Returns:
Signed integer (-1000 to 1000) faction standing value, rounded down.