API FactionToSignedFaction

From Vendetta Lua
Revision as of 05:26, 25 June 2023 by Ravenwolf397 (talk | contribs) (Created page with "=== FactionToSignedFaction === '''Definition:'''<br> FactionToSignedFaction(integer faction) -> integer <br> '''Description:'''<br> Convert absolute faction values (0 to 65535...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.