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
Level Editor Help How to get Grunt to open cabinet doors
Jagsrs28 Offline
Member

Posts: 101
Threads: 25
Joined: Jun 2012
Reputation: 0
#1
Smile  How to get Grunt to open cabinet doors

I am TERRIBLE at writing script. I scrapped my idea of having the Grunt hide in a cabinet (Mainly because I am terrible at writing script.) and decided to just have the Grunt come up to the cabinet open it then vanish. Can you just give me the script and where to put it? Please this will help me out A LOT.

Grunt Name: Grunty1

Cabinet Name: Cabby1

Where in here do I put the script?


////////////////////////////
// Run first time starting map
void OnStart()
{

}
////////////////////////////
// Run when leaving map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}

You guys are the best so I know you can answer this Smile

Special Custom Story for 2 special people!

[Image: LWFcAl]


06-22-2012, 05:11 PM
Find


Messages In This Thread
How to get Grunt to open cabinet doors - by Jagsrs28 - 06-22-2012, 05:11 PM



Users browsing this thread: 1 Guest(s)