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
It doesn't work, maybe impossible?!
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#10
RE: It doesn't work, maybe impossible?!

(05-10-2015, 07:18 PM)FlawlessHappiness Wrote: If it's a custom wall, I recommend taking a look at other objects that can already be moved. Like the secret shelf door.

Or you could use my script for moving any entity with scripting:
http://www.frictionalgames.com/forum/thread-29844.html

I will try it, But I need a custom one because, Those shelf doesn't fit, It's like in temple, and then it is a little bit weird if you see a shelf standing in 1 of the X path xD

(05-10-2015, 07:18 PM)FlawlessHappiness Wrote: If it's a custom wall, I recommend taking a look at other objects that can already be moved. Like the secret shelf door.

Or you could use my script for moving any entity with scripting:
http://www.frictionalgames.com/forum/thread-29844.html

I get error if I try this :

void MoveWall(string &in asEntity, int alState)
{
if (alState == 1)
{
SetMoveObjectState("EgyptMove",1.0f);
MoveEntityToEntity("EgyptMove", "EgyptMove_End", 0.01f, 0.01f);
PlayGuiSound("quest_completed", 5);
return;
}
}

but MoveEntityToEntity("EgyptMove", "EgyptMove_End", 0.01f, 0.01f); meabs, that the wall EgyptMove, Moves UP to the EgyptMove_End (that is higher then the EgyptMove) Right?! I did this and I get error Sad

INFO: Compiling void Movewall (string&in,int)
ERR: Not matching Signatures to : MoveEntityToEntity("String blabla", "stringblabla", cosnt float, const float);

I think the problem is this : (string &in asEntity, int alState)
That needs to be something diffirent? but what.. Couldn;t find it...
(This post was last modified: 05-10-2015, 07:39 PM by Amnesiaplayer.)
05-10-2015, 07:28 PM
Find


Messages In This Thread
RE: It doesn't work, maybe impossible?! - by Amnesiaplayer - 05-10-2015, 07:28 PM



Users browsing this thread: 1 Guest(s)