Making objects disappear and appear?

Having issues not related to a specific Sandbox game mode? Get help here!
Please also read the when posting support requests.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
carter472
Member
Member
Posts: 14
Joined: June 18th, 2009, 1:34 am
Name: Adam
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Making objects disappear and appear?

Postby carter472 » March 8th, 2010, 4:26 am

I'm building a game with a couple of my friends using FPS.

We were wondering if we could make objects disappear if a certain action is done.

For example, let's say we were to make a treasure box. When we touch it, it would give us say, 20 Gold. I know how to trigger it to give us 20 Gold. But AFTER it gives us the 20 Gold, how do we make the treasure box disappear??

Its kinda like when you pick something up? The objects itself disappears from sight. How do we do that to other models, like boxes, or monsters?

And also, one more question. I saw the post about spawning monsters in RPG. My friends and I were wondering if we could spawn monsters in FPS??

arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Making objects disappear and appear?

Postby arcones » March 8th, 2010, 12:30 pm

Image
Want a user bar like this one? PM Leo!

User avatar
Runescapedj
Member
Member
Posts: 1706
Joined: January 9th, 2010, 9:06 am
Name: Michiel
IRC Username: Sandboxdj
Location: Deventer, the Netherlands
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: Making objects disappear and appear?

Postby Runescapedj » March 8th, 2010, 1:29 pm

2. After killing he means I think
3. Idk


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Sandbox General Support”

Who is online

Users browsing this forum: No registered users and 1 guest