Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

SetGroupRuleTarget: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:Group_Functions]]
[[Category:Group_Functions]]

{{HelpFiles}}


====setGroupRuleTarget====
====setGroupRuleTarget====
Line 24: Line 24:
'''Example'''
'''Example'''


setGroupRuleTargetUnlimited(12, 60);
setGroupRuleTarget(12, 60);


'''Availabilty'''
'''Availabilty'''

Latest revision as of 08: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.

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