11
« on: April 04, 2016, 03:39:23 pm »
Hi Liberado, and everyone!
Can you please advise on how this is used? I have been trying several combinations but having no luck
I have an actor with 4 unique collision groups (an enemy / object that is collided with, not the main player), and would like to have multiple instances of this onscreen, each with their own versions of the 4 groups (a, b, c, d)
I have set up new groups for the extra instances (1a, 1b, 1c, 1d) (2a, 2d, 2c, 2d) and so on...
I've tried this on a behaviour attached to the actor
when created
set collision group of (1a - new) for [ collision group of (a - original) ]
(please see attachment)
I keep getting the error:
collision_groups_A: String has no field groupID
from scripts.Design_98_98_collisiongroupsA
line: 87
columns: 16-40
collision_groups_A: com.stencyl.models.actor.Group has no field groupID
from scripts.Design_98_98_collisiongroupsA
line: 87
columns: 2-49
Many thanks
Kieran