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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...