rex_chess_road
Plugin, ACE table, Discussion thread
Dependence: None
Dependence: None
Introduction
Set frame according to neighbors.
Set frame according to neighbors.
Usage
Sample capx
Sample capx
Concept
This behavior will set frame according to neighbors. It first gives each neighbor a score as ( 1 << neighbor_index ), for example, in square grid board which has 4 neighbors for each chess. The scores of these 4 neighbors for a chess are -
This behavior will set frame according to neighbors. It first gives each neighbor a score as ( 1 << neighbor_index ), for example, in square grid board which has 4 neighbors for each chess. The scores of these 4 neighbors for a chess are -
1 ( right side )
2 ( down side )
4 ( left side )
8 ( up side )
The frame index of current chess will be the sum of these scores. For example, if a chess has neighbors at right , down, left sides, the score will be 1+2+4=7, then set frame index to 7.
The total count of possible scores are 16, means that user need to prepare 16 frames in the chess for this behavior.
The total count of possible scores are 16, means that user need to prepare 16 frames in the chess for this behavior.
Update
Sets "Enable" to "Yes" in properties table will update frame every tick automatically.
Or call "Action:Update" to update manually when sets "Enable" to "No", or get frame index by "Expression:FrameIndex" only.
Sets "Enable" to "Yes" in properties table will update frame every tick automatically.
Or call "Action:Update" to update manually when sets "Enable" to "No", or get frame index by "Expression:FrameIndex" only.
Wrap
Set "Wrap" in properties table to "Yes" in rex_board object will wrap the logical boundary. It will also effect the result of this behavior.
Set "Wrap" in properties table to "Yes" in rex_board object will wrap the logical boundary. It will also effect the result of this behavior.
Tag
A neighbor which has this behavior and has the same tag will be counted into score. Call "Action:Set tag" could change the tag.
A neighbor which has this behavior and has the same tag will be counted into score. Call "Action:Set tag" could change the tag.