Hello SL community,
I am trying to get the script to take a given integer amount that i can change and have the script split to total number by percent to several child links of the build that will be effected on collision. What i had entered was
integer Maxhealth = 300;
integer MainBody = 0.50 * maxhealth;
integer Rarm = 0.10 * maxhealth;
integer Larm = 0.10 * maxhealth;
integer head = 0.10 * maxhealth;
integer Rleg = 0.10 * maxhealth;
integer Lleg = 0.10 * maxhealth;
as you might have already determined the script wont save with the way i entered the integers so can someone help me out on this? i would be grateful for any assistance.
Also i did try to split it off and leave the integer without the equation and entered it in as
integer MainBody
MainBody = 0.50 * maxhealth;
still wont save.