Search the Community
Showing results for tags 'identity'.
Found 2 results
-
I'm trying to make working faction units, but their identities reset to default between respawn and death. What isn't properly defined? Example in video : https://www.youtube.com/watch?v=fr5h6rz-Lgg One of the faction addOns : http://www.mediafire.com/file/ifl4fae3vxlun82/bcsu_thugs.pbo/file addOns config.cpp : https://www.mediafire.com/file/16w2t9fkbw4y8dc/bcsu_thugs_config.cpp/file
-
Hello at all who will read this at first, I am currently working on something called DCFDB a Dynamic campaign Framework for Arma 3. To keep things clear i will write some things about it. First of all there is no released Version right now so it is not avialble yet. The Target of it is to have a Dynamic Zeus Campaign with a saving function and other little extras for administrating the campaign. To achive this i am writting an Database in combination with extDB3. This Database should store the most if not all placable and doable things aswell as states. I started at some point to play Milsim Missions with Zeus and thought that it is somewhat sad that there is nothing really to safe the progress. Better said i am targeting a normal Arma 3 campaign as Zeus Campaign with the use of the Creativity from Community of Arma 3. Well with that said now i get to my problem: I am working right now to make it possible to use the Editor for the campaign that you aren't Limited to only Zeus. So i wanted to use the ID of the Mission.sqm to check if it is a Editor Object and later maybe call it by that or assign paralell a Id from the Database. The id of Item 59 ("I_Truck_02_box_F") would be the 409. Right now with the Knowledge i have i can get this variable by using: https://community.bistudio.com/wiki/get3DENEntityID But this is limited to the Eden Editor right now. I ask myself is there a way to get this exact Value in the mission while the Object "I_Truck_02_box_F" is selected with as an example: cursorobject. I already thought of another sollution of this by first calling all placed objects and extracting the ID in the middle of following: 13b57c080# 1675124: truck_02_box_f.p3d by using _editorID = str _vehicle splitstring ": " select 1; this gives me the 1675124 of the whole thing. I thought this number would be my solution but then i got informed that those numbers can change because of terrain modification like one tree more or less. So i can't use that. Now is the Question is there any other solution to get this ID or something which is also unique and won't change? Just as information NetID changes. Another thing i tried is to include the MissionSQM in the description.ext and work the parts out: class MissionSQM { #include "mission.sqm" }; and call it through: getNumber (missionConfigFile >> "MissionSQM" >> "version"); [this is not the path just as information this is just an example] but there is another problem i can't order the ITEM Class to the object if there is variable itself which it does not need everytime. class Attributes { name="beta_4"; } Without the name Attribut i can't order it corectly to the unit. Position is a bad option since those can change. The funny thing is i can call the object mentioned before with this script so this is why i tried the splitstring Part: [0,0,0] nearestObject 1675124; So i am with my knowledge at the End and wanted to ask if someone knows a command for declaring an unique ID which won't change and are passed on from the Editor. I searched the Internet up and down asked question in the Arma 3 scripting Discord channel. I think also you were able once to read out the 1675124 id with a command but this was discontinued due to the terrain change problems. Now the editor objects get their own ids which was once wanted but this can't be used in the Mission. I am at the point where i don't know what to do now. Maybe some of you has some answers. Would be glad.