![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | CardboardPow |
I have a script called entity, all of my entitys (player and enemies) are parented to this script. my script uses contestants like DAMAGE and MAXHEALTH. to make the enemies and player have different stats they need to have the same constants. if I were to remove the constants from the entity script it would not work because the move and damage is done in the entity script. I already tried using variables such as export(int) var MAXHEALTH = 1. please help if you might know a solution.