whiztler 135 Posted June 15, 2018 Re: https://community.bistudio.com/wiki/setHitIndex and https://community.bistudio.com/wiki/getHitIndex I placed an offroad in Eden, named it vv and ran the following in the debug window: vv setDamage 0.5; systemchat format ["HitPartIndex 0, damage: %1", vv getHitIndex 0]; // 0.5 vv setHitIndex [0, 0.1]; systemchat format ["HitPartIndex 0, damage: %1", vv getHitIndex 0]; // still 0.5 Can't seem to change the HitPartIndex. Any ideas/suggestions? Share this post Link to post Share on other sites
Grumpy Old Man 3540 Posted June 15, 2018 2 hours ago, whiztler said: Re: https://community.bistudio.com/wiki/setHitIndex and https://community.bistudio.com/wiki/getHitIndex I placed an offroad in Eden, named it vv and ran the following in the debug window: vv setDamage 0.5; systemchat format ["HitPartIndex 0, damage: %1", vv getHitIndex 0]; // 0.5 vv setHitIndex [0, 0.1]; systemchat format ["HitPartIndex 0, damage: %1", vv getHitIndex 0]; // still 0.5 Can't seem to change the HitPartIndex. Any ideas/suggestions? Works as intended, first one returns 0.5, second one 0.1. Cheers 1 Share this post Link to post Share on other sites
whiztler 135 Posted June 15, 2018 Tried with a new mission and work as should. Thanks! 1 Share this post Link to post Share on other sites