I want to make a Hand, going UP form the "ground" actually, the moving slime. i want that if you click on a button, that the hadn (with the key) will go up, so you can pick the key. my scripts are good, look
SetEntityPlayerInteractCallback("Button", "func1", true);
void func1(string &in asEntity)
{
SetMoveObjectState("Hand",1.0f);
PlaySoundAtEntity("", "24_iron_maiden.snt", "Jumpscare1", 0, false);
}
(yes this is not the whole part of the script, even not with the onstart etc, but only the things i want)
as you ca nsee, there is a button named "Button" and the Function (func1) will be Setmove etc the "Hand" it's Grunt's Body Part 1.
and you can see i did the Jumpscare sound to. and that''s to test it out. if i hear the sound, it means the scripting works, but the setmoveobject with the hand doesn't. and yes it worked. but the "Hand" doesn't move...
I really want to make this cool xd
(and yes, if the hand will work, i will do the same "SetMoveObjectState("Hand",1.0f);" for the key
(Sorry for bad English)