Difference between revisions of "SetGroupRuleTarget"

From Catglobe Wiki
Jump to: navigation, search
 
Line 24: Line 24:
 
'''Example'''
 
'''Example'''
  
setGroupRuleTargetUnlimited(12, 60);
+
setGroupRuleTarget(12, 60);
  
 
'''Availabilty'''
 
'''Availabilty'''

Latest revision as of 10:59, 27 December 2011



setGroupRuleTarget

The functionality is similar to opening the TARGET dialogue on a specific rule, and set its target, and click Save.

3746.jpg

Syntax

setGroupRuleTarget(ruleId, target)

Arguments

ruleId: Is a numeric (non-decimal) expression. It is the id of the rule.

target: Is a numeric (non-decimal) expression. It is the rule's target, must be greater or equal to 0.

Return type

empty

Example

setGroupRuleTarget(12, 60);

Availabilty

Version 5.4