setCuratorCoef: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 14: | Line 14: | ||
|p1= curatorObj: [[Object]] - Curator module. |= PARAMETER1 | |p1= curatorObj: [[Object]] - Curator module. |= PARAMETER1 | ||
|p2= | |p2= action: [[String]] |= PARAMETER3 | ||
|p3 | |p3= coef: [[Number]] or [[Boolean]] |= PARAMETER4 | ||
| [[Nothing]] |= RETURNVALUE | | [[Nothing]] |= RETURNVALUE | ||
Line 24: | Line 22: | ||
|x1= <code>curatorModule setCuratorCoef ["Place", 1]</code>|= EXAMPLE1 | |x1= <code>curatorModule setCuratorCoef ["Place", 1]</code>|= EXAMPLE1 | ||
|x2= <code>curatorModule setCuratorCoef [" | |x2= <code>curatorModule setCuratorCoef ["Delete", -1e10]</code>|= EXAMPLE2 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[Curator]] |= SEEALSO | ||
| | | mp= Can be executed only on server |= MPBEHAVIOUR | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 11:57, 18 February 2014
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:
- Uncategorised
Syntax
- Syntax:
- curatorObj setCuratorCoef [action,coef]
- Parameters:
- curatorObj: Object - Curator module.
- 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