Have property take effect after 'x' seconds or alternate method?

When pressing a key, the player should ‘add’ an object to the world, and that particular object is supposed to harm you (via Collision Property) but being the object is spawned from INSIDE the player, I need for it to only take effect after maybe 1 or 2 seconds. This way, when you return to it later, it will inflict damage.

Any idea how to do this? I tried using property bricks, but I don’t think they can be used this way.

Thanks in advance for the help!

You could have the harming object have a timer property(Spawns at the set value then starts counting up in seconds), and have the Collision Sensor and a Property Sensor with the Timer Property(Greater Than 2) connected to an And.

Ah! I’ll try that out tomorrow and we’ll see what happens!
Thanks for the suggestion, I shoulda thought of that…

Maybe you have noticed you can configure the “time” field at the addObjectActuator. It tells the newly created object how long to live (in frames).

Maybe you could also use states.
keyboard—and----State > copy state 2
then on state 2 use a delay to add the object.

State 2

Delay-----and-----add object, and copy state 1. (to switch back to state 1)
Or a delay and a message to add the object. something like that.

Finally got around to it last night, turns out is was as simple as putting a delay on it with a collision sensor + message.
Object touches player -> Message sent to player with “End Object”

I was working on a “Light cycle” arcade type thing, I made the line out of many little blocks that were added behind (or in this case, IN) the player. Now I’m gonna have to delve into “Random” so I can make the AI move around freely