The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SetMoveObjects works with Hands too..? or not..
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#1
SetMoveObjects works with Hands too..? or not..

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 Tongue

(Sorry for bad English)
02-22-2015, 10:54 PM
Find


Messages In This Thread
SetMoveObjects works with Hands too..? or not.. - by Amnesiaplayer - 02-22-2015, 10:54 PM



Users browsing this thread: 1 Guest(s)