8.17. set_event_par_arr()
set_event_par_arr(,
ter>,,)
Special form of
set_event_par()
, used to set the
group allow state of the specified event.
The ID number of the note event.
In this case, only
$EVENT_PAR_ALLOW_GROUP
can be used.
If set to
1
, the group set with
will be allowed for
the event.
If set to
0
, the group set with
will be disallowed
for the event.
The index of the group for changing the specified note's group al-
low state.
Remarks
•
set_event_par_arr()
is a special form (or to be more precise, it's the array variant) of
set_event_par()
. It is used to set the allow state of a specific event.
Examples
on note
if (get_event_par_arr($EVENT_ID,$EVENT_PAR_ALLOW_GROUP,0) = 0)
set_event_par_arr($EVENT_ID,$EVENT_PAR_ALLOW_GROUP,1,0)
end if
end on
Making sure the first group is always played
See Also
allow_group()
disallow_group()
get_event_par_arr()
set_event_par()
$EVENT_PAR_ALLOW_GROUP
Event Commands
67
KSP Reference Manual
Do'stlaringiz bilan baham: |