Difference between revisions of "API FactionToSignedFaction"
From Vendetta Lua
Ravenwolf397 (Talk | contribs) |
Ravenwolf397 (Talk | contribs) m |
||
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.