Jump to content
Sign in to follow this  
Matosh

Place throwable items on the table?

Recommended Posts

How BIS in the campaign placed throwable items on the tables like smoke and fragmentation grenades?

Edited by Matosh

Share this post


Link to post
Share on other sites

Go to the Empty units in the editor, scroll down to Weapons [Primary], then select Empty. Enter this into the unit's init line:

this addmagazinecargo ["smokeshellblue",1]; this attachto [table1, [0,0,0.47]]; detach this

Note that the "0.47" will vary based on whatever table you used (I used the Large Wood one). replace smokeshellblue with whatever the classname of the throw item is.

Forgot to mention that table1 would be the name of the table you want to place the throw item on.

Edited by mashmo0823
Clarification

Share this post


Link to post
Share on other sites
Go to the Empty units in the editor, scroll down to Weapons [Primary], then select Empty. Enter this into the unit's init line:

this addmagazinecargo ["smokeshellblue",1]; this attachto [table1, [0,0,0.47]]; detach this

Note that the "0.47" will vary based on whatever table you used (I used the Large Wood one). replace smokeshellblue with whatever the classname of the throw item is.

Forgot to mention that table1 would be the name of the table you want to place the throw item on.

Thanks.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×