bloodxgusher 10 Posted April 17, 2013 Working in the editor and was wondering if anyone has played around with object collision yet? As we all know in A2, it was possible to place thing underground, inside of other objects, and of course on top of others. Is there a command in the init of the object that would allow it to collide with others like "can collide" Thanks. Share this post Link to post Share on other sites
killzone_kid 1330 Posted April 17, 2013 enablecollisonwith disablecollisonwith check full commands list in my signature Share this post Link to post Share on other sites
bloodxgusher 10 Posted April 17, 2013 enablecollisonwith disablecollisonwith check full commands list in my signature The commands you listed are nowhere in the command life in your signature. I tried the commands ingame in the editor but not luck. Maybe I am using them wrong. in the init of a wall object I just have enablecollisionwith; Share this post Link to post Share on other sites
loyalguard 15 Posted April 17, 2013 The correct syntax for each command can be found below: https://community.bistudio.com/wiki/disableCollisionWith https://community.bistudio.com/wiki/enableCollisionWith As you see, it is specific for two vehicles so you would have to specify which vehicles you wanted it to affect. Please note from this thread it appears that it does not work with static objects: http://forums.bistudio.com/showthread.php?151352-Module-Show-Hide-Objects-after-hiding-still-having-collision-with-vehicles&p=2352407&viewfull=1#post2352407 Share this post Link to post Share on other sites
killzone_kid 1330 Posted April 17, 2013 The commands you listed are nowhere in the command life in your signature.I tried the commands ingame in the editor but not luck. Maybe I am using them wrong. in the init of a wall object I just have enablecollisionwith; Did you look on this page? http://killzonekid.com/arma-2-arma-3-scripting-commands-list/ use ctrl+F to find stuff enableCollisionWith will be under E in Arma3 section disableCollisionWith is under D in the same section ---------- Post added at 11:21 ---------- Previous post was at 11:19 ---------- The correct syntax for each command can be found below:https://community.bistudio.com/wiki/disableCollisionWith https://community.bistudio.com/wiki/enableCollisionWith As you see, it is specific for two vehicles so you would have to specify which vehicles you wanted it to affect. Please note from this thread it appears that it does not work with static objects: http://forums.bistudio.com/showthread.php?151352-Module-Show-Hide-Objects-after-hiding-still-having-collision-with-vehicles&p=2352407&viewfull=1#post2352407 It works with some static objects http://killzonekid.com/arma-scripting-tutorials-getting-started/ has script example to try at the end Share this post Link to post Share on other sites
bloodxgusher 10 Posted April 17, 2013 The correct syntax for each command can be found below:https://community.bistudio.com/wiki/disableCollisionWith https://community.bistudio.com/wiki/enableCollisionWith As you see, it is specific for two vehicles so you would have to specify which vehicles you wanted it to affect. Please note from this thread it appears that it does not work with static objects: http://forums.bistudio.com/showthread.php?151352-Module-Show-Hide-Objects-after-hiding-still-having-collision-with-vehicles&p=2352407&viewfull=1#post2352407 Did you look on this page? http://killzonekid.com/arma-2-arma-3-scripting-commands-list/ use ctrl+F to find stuffenableCollisionWith will be under E in Arma3 section disableCollisionWith is under D in the same section ---------- Post added at 11:21 ---------- Previous post was at 11:19 ---------- It works with some static objects http://killzonekid.com/arma-scripting-tutorials-getting-started/ has script example to try at the end Thanks gentlemen. I did not realize there were TWO sections with commands. The one I was looking for was way at the bottom. Shame this only works with vehicles. Anyone know of a work around? Its weird that I can combine, fuse sandbag walls but not other objects. Share this post Link to post Share on other sites
quorum 10 Posted July 22, 2014 How would I make disableCollisionWith global. Meaning I don't want to have to put it in the initialization line of every vehicle I put on the map in the editor but want any vehicle spawned to have collision with other vehicles disabled preventing players from using vehicles to ram and making them shoot it out. I want to add this to some of the existing projects like wasteland or king of the hill/ CTI style games that dynamically spawn vehicles at stores or just randomly create vehicles when the map is loaded. Thanks! Q Share this post Link to post Share on other sites