Jump to content
Sign in to follow this  
lonesoldier

Making things appear

Recommended Posts

Ok. I need to know how to make objects appear. Well for example:

If you kill the hostages captor within 55 seconds then you activate the easter egg. When the easter egg is activated i need to know how to make an ammo crate appear with an M21 and a few other weapons. So if you dont kill the captor in under 55 seconds the ammo crate wont appear. But if you do kill the captor in under 55 seconds then an ammo crate appears in a shed.

Thanks. And also how would i be able to make the ammo crate have a custom loadout seeming as though it wont be there unless the easter egg is activated. Usually i would put this addweaponcargo blah blah blah... But the crate wont be there to start off with. So how would i give it, a loadout.

Thanks in advance!!!

Share this post


Link to post
Share on other sites

In the start, put the crate under ground, and when the egg activates,

lift the crate on ground. Do it like this:

In the ammo crate's init field put this:

this setpos[ getpos this select 0, getpos this select 1, -2 ]

Name that crate for example egg_crate.

Then when the egg activates, execute this line( put it in the trigger's "on activation" field for examples ):

egg_crate setpos[ getpos egg_crate select 0, getpos egg_crate select 1, 0 ].

That should make the crate appear as the easter egg is

activated.

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  

×