research building class id

herculys

Member
ARMA2-OA-ingame-screen-WIP_01.jpg


i'm looking for this building id in dayz
i want to put this on my dayz server
someone know?
 
save this code as showid.sqf and put it in your mission. in your init.sqf
execvm "showid.sqf";

Code:
while {true} do {
hintsilent format["classid is %1",typeof cursortarget];
sleep 2;
};

it should show you the classname of whatever you are looking at. that building is in lingor island, right? it wont work unless you have the pbo that includes that building in your mod.
 
Yeah, thats a lingor island building (the governors house).
But I was mistaken, when I looked at your image closer I could see the Mosque in the background. This is Zargabad so its included in the default arma2 install.

oU5xWN5.png


And there is your classname, I shorted the code and placed it inside of a Radio Alpha trigger
Land_A_Villa_EP1

3iKKAJG.png


Create a 'trigger' on the editor
activation by Radio Alpha, insert your code n the Activation expression line. Place a player, and then PREVIEW. Just press 0-0-1 to activate radio alpha. You can use multiple code snippets for radio bravo, charlie etc.

cVxi3Z8.png
 
Back
Top