Jump to content
Charles Barkley

hideObjectGlobal remove shadows and actions?

Recommended Posts

I used the following script on my backpack item:

_backpackItem hideObjectGlobal true;

When running the result is the following:

 

image.png

 

I would like to make it completly invisible (remove dangling shadows) and non-interactive (disable actions)

How to achieve that? The documentation hints me that this should be actually working like that.

 

Greetings 

Charlie!

Share this post


Link to post
Share on other sites

I found out that I have to call this function to the _holder of the object not the object itself :/ hard to grasp

Share this post


Link to post
Share on other sites

If backpack is on ground, try with:

objectParent _backpackItem hideObjectGlobal true;

objectParent _backpackItem enableSimulationGlobal false;

 

(not tested)

Share this post


Link to post
Share on other sites

Why not just get rid of the backpack and add an invisible ammocrate addAction to the player?

 

Cheers

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

×