Variable Equations

New releases and general discussions.

Post » Wed Jun 28, 2017 6:13 pm

Hey, I'm wondering if the is a way to use a object's variable in a piece of code. For Example:

Bullet collides with Enemy
Subtract Bullet's damage variable from Enemy's health

Basically, I made all my bullets in one family and made each bullet do different amounts of damage. Is there anyway I can just call the family member that is colliding and use it's damage variable to subtract health from the object it's colliding into?
Posts: 1
Reputation: 152

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 1 guest