API FactionToSignedFaction

From Vendetta Lua
Revision as of 05:26, 25 June 2023 by Ravenwolf397 (talk | contribs)
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.