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
movable books
liamthespy Offline
Junior Member

Posts: 26
Threads: 10
Joined: Jun 2012
Reputation: 0
#1
movable books

I was wondering if there were any tutorials for this? I can't seem to find any ( judging by how I missed the roman numeral props, I'm probably just too stupid to find it. ) Right now I'm trying to use


////////////////////////////
// Run when entering map
void OnEnter()
{
SetEntityPlayerInteractCallback("bookmoveg", "trapopen", true);
}

void SetMoveObjectState(string &in item)
{
SetPropHealth("barrier", 0);
SetEntityActive("barrier", false);
}
////////////////////////////
// Run when leaving map
void OnLeave()
{

}

to cause the movable book to destroy a barrier keeping a hatch closed, but it ain't working. I checked the engine scripts page on the wiki but theres nothing relevant to the book.
(This post was last modified: 06-17-2012, 11:56 PM by liamthespy.)
06-17-2012, 11:53 PM
Find


Messages In This Thread
movable books - by liamthespy - 06-17-2012, 11:53 PM
RE: movable books - by i3670 - 06-18-2012, 12:14 AM



Users browsing this thread: 1 Guest(s)