Jump to content
Sign in to follow this  
Demagor

How to pick-up...

Recommended Posts

Is there a way to create an item that a character can "pick-up"?

For example, the player needs to get [item] from [place] in order to proceed. Is there a way to create an [item] that the player can then use the action menut to "take [item]"??

Just curious.

Share this post


Link to post
Share on other sites

Thanks, denoir.

I realized I placed it in the wrong spot JUST after I posted it.

Ugh.

Share this post


Link to post
Share on other sites

Oh boy, yes there are various ways of going this.

If you are talking about an object that is actually visible in the game and exists, you can add an action to it using object addAction [bla bla bla]; (see the command reference)

Then in the activated script you can easily remove the physical object once it is taken.

To place various objects you may require an Editor Addon. Or you can simply crate a trigger and group it with the Player, when player is present you do an addAcction, when he leaves perform removeAction.

The possibilities are large in this area.

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  

×