So I am having an issue passing a cursorTarget from a selfAction from the first script its executed into _vehicle = (_this select 3). Later in that script, I want to retain the object in _vehicle and pass it on from that script to another script. I verify that the original container is an object Vehicle = 2b8b50c0# 1065711: suv.p3d and then in the next script my diag log reads Vehicle = <NullObject>
Ive tried exec the vehicle variable as [_vehicle] execVM "script\path\"; and then in that script, i try to reference my object as _object = _this select 0; Should be returning my object no? Its been returning as Null.....
Question
ViktorReznov
So I am having an issue passing a cursorTarget from a selfAction from the first script its executed into _vehicle = (_this select 3). Later in that script, I want to retain the object in _vehicle and pass it on from that script to another script. I verify that the original container is an object Vehicle = 2b8b50c0# 1065711: suv.p3d and then in the next script my diag log reads Vehicle = <NullObject>
Ive tried exec the vehicle variable as [_vehicle] execVM "script\path\"; and then in that script, i try to reference my object as _object = _this select 0; Should be returning my object no? Its been returning as Null.....
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now