setCuratorCoef: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(server exec)
No edit summary
Line 16: Line 16:
|p1= curatorObj: [[Object]] - Curator module.  |= PARAMETER1   
|p1= curatorObj: [[Object]] - Curator module.  |= PARAMETER1   


|p2= action: [[String]] |= PARAMETER3
|p2= [action,coef]: [[Array]] |= PARAMETER 2


|p3= coef: [[Number]] or [[Boolean]]  |= PARAMETER4
|p3= action: [[String]]  |= PARAMETER3
 
|p4= coef: [[Number]] or [[Boolean]]  |= PARAMETER4


| [[Nothing]] |= RETURNVALUE  
| [[Nothing]] |= RETURNVALUE  

Revision as of 17:37, 30 August 2015

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:
Uncategorised

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

Notes

Bottom Section

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

place
edit
delete
destroy
group
synchronize