09-15-2012, 11:44 AM
09-15-2012, 03:30 PM
some entities can be checked as "breakeable", and for example a vase, in the entity tab, you can set "contained item" and choose what u want.
then for exe. a table, u need a script:
SetEntityCallbackFunc(string& asName, string& asCallback);
Calls a function when the player interacts with a certain entity.
Callback syntax: void MyFunc(string &in asEntity, string &in type)
Type depends on entity type and includes: “OnPickup”, “Break”, “OnIgnite”, etc
then in the void youll have:
SetEntityActive("?", true);
then for exe. a table, u need a script:
SetEntityCallbackFunc(string& asName, string& asCallback);
Calls a function when the player interacts with a certain entity.
Callback syntax: void MyFunc(string &in asEntity, string &in type)
Type depends on entity type and includes: “OnPickup”, “Break”, “OnIgnite”, etc
then in the void youll have:
SetEntityActive("?", true);
09-15-2012, 06:20 PM
Otherwise you would just zoom into the drawers and place it inside