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
multiple functions problem
reptalol Offline
Junior Member

Posts: 5
Threads: 2
Joined: Oct 2011
Reputation: 0
#1
multiple functions problem

I appologize for two threads so soon of eachother, and definitely thanks for solving my problem earlier! But i've ran into another one, this one regarding my script. Ive watched several guides and read every tutorial i could find, but i'm not 100% sure what's wrong with this script, can you guys tell me?

PHP Code: (Select All)
void OnStart()
{
FadeOut(float (0));
SetPlayerSanity(float (0));
StartScreenShake(float (1), float (1), float (1), float (2));FadeIn(float (7));


AddEntityCollideCallback("Player""SanityTest""Scripttest"true, (1));SetEntityCallbackFunc("beginninglantern""lanterntrigger")}
void Scripttest(string &in asParentstring &in asChildint alState) {SetPlayerSanity(float (65));}
void lanterntrigger(string &in asEntitystring &in type) {SetSwingDoorClosed("castle_1"truetrue);} 
(This post was last modified: 10-09-2011, 06:09 AM by reptalol.)
10-09-2011, 06:06 AM
Find


Messages In This Thread
multiple functions problem - by reptalol - 10-09-2011, 06:06 AM
RE: multiple functions problem - by Tanshaydar - 10-09-2011, 06:12 AM
RE: multiple functions problem - by reptalol - 10-09-2011, 06:16 AM
RE: multiple functions problem - by Tanshaydar - 10-09-2011, 06:29 AM
RE: multiple functions problem - by reptalol - 10-09-2011, 06:43 AM



Users browsing this thread: 1 Guest(s)