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
Script Help Levers
assassinhawk45 Offline
Junior Member

Posts: 31
Threads: 11
Joined: Dec 2012
Reputation: 0
#1
Question  Levers

I'm having trouble with scripting a lever. I'm am trying to make it activate a monster, but when I pull it, it doesn't do anything.

Script:
void OnStart()
{
AddEntityCollideCallback("Player", "trap_1", "Jump1", true, 1);
}
void Jump1(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("fail_1", true);
}

The Necromancer's Touch: WIP Coming March 2013
01-15-2013, 10:13 PM
Find


Messages In This Thread
Levers - by assassinhawk45 - 01-15-2013, 10:13 PM
RE: Levers - by The chaser - 01-15-2013, 10:17 PM
RE: Levers - by assassinhawk45 - 01-15-2013, 10:26 PM
RE: Levers - by The chaser - 01-15-2013, 10:28 PM
RE: Levers - by assassinhawk45 - 01-15-2013, 10:34 PM



Users browsing this thread: 1 Guest(s)