setCuratorCoef

From Bohemia Interactive Community
Revision as of 11:39, 18 January 2021 by R3vo (talk | contribs) (Text replacement - "<h3 style='display:none'>Notes</h3> <dl class='command_description'> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> <h3 style='display:none'>Bottom Section</h3>" to "")
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Sets coef for some action (coef have to be bigger than -1 000 000, anything lower is considered as disabled action).
Multiplayer:
Can be executed only on server
Groups:
Curator

Syntax

Syntax:
curatorObj setCuratorCoef [action,coef]
Parameters:
curatorObj: Object - Curator module.
[action,coef]: Array
action: String
coef: Number or Boolean
Return Value:
Nothing

Examples

Example 1:
curatorModule setCuratorCoef ["Place", 1]
Example 2:
curatorModule setCuratorCoef ["Delete", -1e10]

Additional Information

See also:
Curator

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note


Posted on March 25, 2015 - 21:46 (UTC)
Austin medic
Possible actions are:

place
edit
delete
destroy
group
synchronize