[PLUGIN] Instance Group

Post your completed addons to share with the community

Post » Sun Mar 18, 2012 2:59 am

Update:

- Fix bug on "Condition:UID in group"
- Change implementation of "Action:Clean" to decrease GC
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Sat Mar 24, 2012 9:34 am

Update:

- Add version to 1.0
- Add "action: Slice" to copy or pop group slice to another group. ex: group B = group A[3:5]
- Add "action: Pop one instance" to Get or pop one instance from list by index into SOL. ex: inst = group A[0]rexrainbow2012-03-24 09:36:22
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Sat Mar 31, 2012 12:50 am

@ryuzaki01

Thanks for using instance group plugin.

There are two actions which can pick instances.
- "Pick instances": it can pick a kind of instances in one group. And you can keep these instances in group or not (move/pop these from group).
- "Pop one instance": it can pick or pop one instance by index, since group is a list structure, too.

After picking instances, you can use them in event sheet to set their behavior. rexrainbow2012-03-31 00:51:10
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Tue May 01, 2012 11:57 pm

Update

Add an action to assign random generator.
This random generator could set a seed, so that it could control the result of shuffle.
It might be useful when using in mutli-player (network) game.

capx

Dependence:
[plugin]
random generator



You might run capx 3 times and see the result will be the same.
Then toggle the first and second actions to using default random and see the result will be changed every time.rexrainbow2012-05-02 00:08:08
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Fri May 11, 2012 3:28 pm

Update:

The same, remove jQuery call.
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Wed Jul 25, 2012 11:14 am

That's exactly what I was looking for, thanks man!
B
42
S
11
G
4
Posts: 505
Reputation: 7,267

Post » Sat Oct 20, 2012 3:47 am

Update:

Add "condition: is a subset" to test if group is a subset of another group.
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Fri Nov 23, 2012 5:17 am

Update:

Change some code. No ACE changing.
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Sun Nov 25, 2012 2:26 am

Update:

Fix a small bug. Thanks for @aktarus
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Wed Nov 28, 2012 10:24 am

I have a small feature suggestion for your InstGroup plugin (which is really powerful thing)

Add to group method:
1)Push in front or end of the group
2)Insert at an index (instances to the right will be shifted)

Basically the same as in Array objectxoros2012-11-28 10:25:41
B
42
S
11
G
4
Posts: 505
Reputation: 7,267

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: bcit, Bitmichael and 3 guests