Jump to content

M3Editor


READTHESCROLL

Recommended Posts

  • 1 year later...

@Heinz
After exporting the custom props, you can look at the code that spawns it.
It is usually at the bottom of the export and is a loop like this:

{
  code is in here to spawn in the props from the array.
  and you can squeeze the below example somewhere in here to do what you would like :)
} forEach _props;

You can then do an if/then on the classname of the object such as the Land_Billboard_F

if(_propClassName isEqualTo "Land_BillBoard_F")then{
  lowdamage false;
  this setObjectTexture [0,"textures\logo.jpg"];
};





 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...