Ra'Jiska 19 Posted September 6, 2016 Hello, I'd like to know what do object name means, for houses for example. Here is the object name for a shed: 57f2c800# 953602: i_shed_ind_f.p3d ; what does '57f2c800' and '953602' stand for ? How are they assigned ? But also, how come 57f2c800 is sometimes not synchronized between client & server while the 953602 is ? Thank you for your help. Share this post Link to post Share on other sites
Tajin 348 Posted September 6, 2016 static objects are not synced I wouldn't worry about the internal ids of objects. You normally don't them anyway. 1 Share this post Link to post Share on other sites
Ra'Jiska 19 Posted September 6, 2016 This part represents the object ID 953602, it looks to be synced over every players. I'd say it is the object map ID. However, 57f2c800 is synced with clients most of the time but some time it just isn't, I use the whole static object ID to compare some stuff. Do you know what the first part refers to and do you know if it'd be a problem if I'd only take what is after the '#' to compare stuff ? Thanks. Share this post Link to post Share on other sites
Tajin 348 Posted September 6, 2016 can't help you if you don't tell us what exactly you're after. "stuff" is no useful information Share this post Link to post Share on other sites
Ra'Jiska 19 Posted September 7, 2016 Don't worry about that anymore, I managed to extract the needed part, as the first block doesn't seem very important. However, I'd need to convert a string to a house object. So let's say I have this string, "57f2c800# 953602: i_shed_ind_f.p3d" is there any way to convert it to the object pointing to the house ? Currently, the only way I found was doing: _a = "57f2c800# 953602: i_shed_ind_f.p3d"; _b = missionNamespace getVariable [_a, objNull]; However, the _b variables ends up being a NULL object while I wish it to point to the house I designed. Do you know if there is a way to accomplish this. Share this post Link to post Share on other sites
fn_Quiksilver 1629 Posted September 7, 2016 _mybuilding = _pos nearestobject 953602; _b = missionnamespace getvariable [_mybuilding,objnull]; systemchat str _b; 1 Share this post Link to post Share on other sites
Tajin 348 Posted September 7, 2016 try this: _b = [0,0,0] nearestObject 953602; edit.: oh Quiksilver beat me to it :P 2 Share this post Link to post Share on other sites
fn_Quiksilver 1629 Posted September 7, 2016 the first part looks like byte text or location in memory. 57f2c800# Share this post Link to post Share on other sites
Ra'Jiska 19 Posted September 7, 2016 Work like a charm. Thank you very much guys ! Concerning the first block it doesn't look like the location in memory as most of the time it's equal to client's. Share this post Link to post Share on other sites