Family name problem

For questions about using Classic.

Post » Thu Dec 31, 2009 3:53 am

I seem to get an "no 'rts' behavior found" error.

The code in which I see is the source of this error is this kind:
NPC.MovAngle Equal to 180
--> Set NPC angle to 180

Wherein "NPC" is a family name and not a specific object name. I'm trying to use family names so that I would not need to make each code for each object inside the same family.

In English, it would be "If an object inside the family "NPC" is moving at 180 degrees, change that object's animation angle to 180 degrees."

Is Construct unable to do this at this time?
B
10
S
5
G
8
Posts: 203
Reputation: 4,395

Post » Thu Dec 31, 2009 4:19 am

You need to make sure that all the members of the family have the RTS behavior.

If they do then you should be able to do a Family[RTS].MovAngle .... and you will get what you want.

You have to include the "[RTS]"
B
8
S
3
G
7
Posts: 835
Reputation: 5,313


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 9 guests