Jump to content
Sign in to follow this  
Sasuke

Deployable Outpost

Recommended Posts

Hey Guys, I'm working on a mission (And also, thanks for all the help with the previous one. It now runs fantastic!) in which Opfor forces are trying to cross a border to the Blufor region of Chernarus. There are three fortifyable points, in which an addaction on sandbag box does this: It deletes the Sandbag box (ACE) a 45 second bar spawns counting down (A Hint Bar, not sure how to do it, though). After 45 seconds, Sandbags and small Woodland bunkers appear in a sort of box shape with one gap, a USMC Weapon box in the corner, 2 medical boxes in the opposite corner, and an M2 With USMC Basic ammo next to it. I've been thing things along the lines of Createvehicle and Deletevehicle, but not 100% on how to do it. The only other problem is the loading bar. Any suggestions would be gladly appreciated.

Thanks,

SGT M. Sasuke

1st LAR Nightmare Actual

Share this post


Link to post
Share on other sites

Hmmm, i think the easiest way to do it would be to setup your outposts in editor where you want them then use "objectName hideObject true;" in effect turning them invisable. then you could use a trigger to turn them visable again with "objectName hideObject false;".. now, i say use a trigger because it has global effect and the hideobject command is local effect, so the trigger should make it so that everyone playing see's them again. (just tested) looks like your going to have to name all your pieces to hide because i couldnt get the "nearestobjects" command to work with all the pieces for some reason. so, just declare somewhere in mission or init your outpost name and objects - example

outpost1 = [bunk1,bunk2,bunk3];

then use a trigger with condition true (so it removes them at mission start). then this in act:

{_x hideObject true} forEach outpost1 

then have another trigger that uses

{_x hideObject false} forEach outpost1 

whenever/however you want to get them back. another issue is a safe place for player who set off outpost to appear. if he's there in the middle, a building could spawn on him. that would be bad ;) also dont use this on ai units, they will still shoot and wont be seen.

Edited by Nimrod_Z

Share this post


Link to post
Share on other sites

Ahahaha, I could just imagine invisible Taki's firing at my men... Anyway, I'll give it a shot. Thanks for the help!

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  

×