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:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script didn't work...
H. Filipe Offline
Junior Member

Posts: 22
Threads: 6
Joined: Jun 2011
Reputation: 0
#1
Script didn't work...

Hy i am new in this forum and in Scripting too.

I Have a problem with my scripts, i want a lamp to turn on when collide with a area called lampson.

I think the script is right.

void Lamps(string &in asItem, string &in asEntity)
{
     SetLampLit("chandelier_nice_1", false, false);
}

////////////////////////////
// Run On Enter
void OnEnter()
{
AddEntityCollideCallback("Player", "lampson", "Lamps", false, 1);
}

Where is the problem?Huh

E-mail: postal2DeusEx@hotmail.com
Xbox/Live Account: HUGO BOLT 0GTA0

Working on a Custom Story :)
(This post was last modified: 07-04-2011, 07:28 PM by H. Filipe.)
07-04-2011, 04:28 PM
Find


Messages In This Thread
Script didn't work... - by H. Filipe - 07-04-2011, 04:28 PM
RE: Script didn't work... - by Kyle - 07-04-2011, 04:32 PM
RE: Script didn't work... - by H. Filipe - 07-04-2011, 04:37 PM
RE: Script didn't work... - by Janni1234 - 07-04-2011, 04:33 PM



Users browsing this thread: 1 Guest(s)