Jump to content
Sign in to follow this  
phronk

getUnitTrait Error

Recommended Posts

Before I add this to the bug tracker, I want to double-check if this is some new intended result that I didn't catch in the change-log.  Prior to the update, there were no errors.  Now, it results in a script error and I've been told it also spams the RPT.  This is the code I'm using:

player setUnitTrait["RTO",true,true];
player getUnitTrait"RTO";



It seems to still work as intended, but it generates this script error:
n1K4c9o.png

Share this post


Link to post
Share on other sites

 

 Yup, reported it multiple times before they even went release candidate yet they pushed it thru regardless without even a mention. Sucks big because mod that im working on uses generous amounts of getUnittrait

  • Sad 3

Share this post


Link to post
Share on other sites

God damn it.  Well, at least it's already reported.  My radio script and one of my Altis Insurgency mission uses it, so it's kind of a pain in the ass.  Oh well.  Here's to hoping they fix it before the year is over :drinking:

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×