Make the value of a variable modifiable with extensions


I created a simple extension that destroy 2 objects (bullet and enemy) but every enemy has different value to add to the scene variable “points”

I have this:

PARAM1 = Bullet
PARAM2 = Enemy

What is the next Parameter I should create to make the variable’s value changeable for each enemy??

I tried the PARAMETER “Number” but is only a value that won´t add any value to the scene variable “points” or maybe don’t know how to add it to the variable. I’m so stucked!

Hope I explained myself clearly =) !!!

assign a value for each different enemy object variable.

1 Like

I should have think that !!! works perfectly!