setCuratorCoef: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>") |
||
Line 26: | Line 26: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <code>curatorModule | |x1= <code>curatorModule setCuratorCoef ["Place", 1];</code> | ||
|x2= <code>curatorModule | |x2= <code>curatorModule setCuratorCoef ["Delete", -1e10];</code> | ||
|seealso= [[Arma 3: Curator]] | |seealso= [[Arma 3: Curator]] | ||
}} | }} |
Revision as of 11:13, 12 May 2022
Description
- Description:
- Sets coef for some action (coef have to be bigger than -1 000 000, anything lower is considered as disabled action).
- Groups:
- Curator
Syntax
- Syntax:
- curatorObj setCuratorCoef [action, coef]
- Parameters:
- curatorObj: Object - Curator module
- action: String - can be one of:
- "Place"
- "Edit"
- "Delete"
- "Destroy"
- "Group"
- "Synchronize"
- coef: Number or Boolean
- Return Value:
- Nothing
Examples
- Example 1:
curatorModule setCuratorCoef ["Place", 1];
- Example 2:
curatorModule setCuratorCoef ["Delete", -1e10];
Additional Information
- See also:
- Arma 3: 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