Welcome to Epoch Mod Community

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more!

This message will be removed once you have signed in.

Sign in to follow this  
Followers 0


6 posts in this topic

How can I set a command with the M3Editor?

e.g, a texture on billboard like this: this allowdamage false; this setObjectTexture [0,"textures\logo.jpg"];

Share this post

Link to post
Share on other sites

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"];


Share this post

Link to post
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
Sign in to follow this  
Followers 0

  • Latest Donations

  • Donation Box

    Please donate to support the community.
    We appreciate all donations!
  • Advertisement
  • Supporters
  • Advertisement
  • Forum Statistics

    • Total Topics
    • Total Posts
  • Member Statistics

    • Total Members
    • Most Online

    Newest Member