API FactionToSignedFaction: Difference between revisions
From Vendetta Lua
Jump to navigationJump to search
Ravenwolf397 (talk | contribs) Created page with "=== FactionToSignedFaction === '''Definition:'''<br> FactionToSignedFaction(integer faction) -> integer <br> '''Description:'''<br> Convert absolute faction values (0 to 65535..." |
Ravenwolf397 (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
'''Arguments:'''<br> | '''Arguments:'''<br> | ||
''faction'' absolute (0 to 65535) faction value | ''faction'' absolute (0 to 65535) faction value | ||
<br> | |||
'''Returns:'''<br> | '''Returns:'''<br> | ||
Signed (-1000 to 1000) faction value, rounded down. | Signed (-1000 to 1000) faction value, rounded down. | ||
<br> | <br> |
Revision as of 05:26, 25 June 2023
FactionToSignedFaction
Definition:
FactionToSignedFaction(integer faction) -> integer
Description:
Convert absolute faction values (0 to 65535) into signed faction values (-1000 to 1000)
Arguments:
faction absolute (0 to 65535) faction value
Returns:
Signed (-1000 to 1000) faction value, rounded down.