C++ ? syntax, IF/THEN/ELSE shortcut

New releases and general discussions.

Post » Tue Jan 27, 2009 2:54 am

I've submitted a bug report to the tracker, as it constantly crashes for me.
B
2
G
3
Posts: 71
Reputation: 992

Post » Tue Jan 27, 2009 5:53 am

While you wait for this to be fixed, there's a way to simplify the events by using a different expression:

+On Overlap between Player and Family[Behavior].VectorX
-Family[Behavior].VectorX = Family[Behavior].VectorX + ( Cos(Player.Angle) * 100 )

Haven't had a chance to test it, but I've done something similar before, and it should work.
Moderator
B
98
S
36
G
19
Posts: 1,584
Reputation: 17,717

Previous

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests