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
Can someone take a look?
Cocomunches Offline
Junior Member

Posts: 36
Threads: 6
Joined: Apr 2012
Reputation: 1
#1
Can someone take a look?

PLEASE SEE 5th RESPONCE

Spoiler below!

Can someone help me out with this script, I have no clue what is wrong. I am honestly no good at this and keep getting something wrong please help if you can!

Quote: ////////////////////////////
// Run when entering map
void OnEnter(){
void wakeUp ()
FadeOut(0); // Instantly fades the screen out. (Good for starting the game)
FadeIn(20); // Amount of seconds the fade in takes
FadeImageTrailTo(2, 2);
FadeSepiaColorTo(100, 4);
SetPlayerActive(false);
FadePlayerRollTo(50, 220, 220); // "Tilts" the players head
FadeRadialBlurTo(0.15, 2);
SetPlayerCrouching(true); // Simulates being on the ground
AddTimer("trig1", 11.0f, "beginStory"); // Change '11.0f' to however long you want the 'unconciousness' to last


void beginStory(string &in asTimer){
ChangePlayerStateToNormal();
SetPlayerActive(true);
FadePlayerRollTo(0, 33, 33); // Change all settings to defaults
FadeRadialBlurTo(0.0, 1);
FadeSepiaColorTo(0, 4);
SetPlayerCrouching(false);
FadeImageTrailTo(0,1);



SetPlayerSanity(10);
SetPlayerHealth(40);
}


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

}

(This post was last modified: 05-12-2012, 02:06 AM by Cocomunches.)
05-09-2012, 04:02 AM
Find


Messages In This Thread
Can someone take a look? - by Cocomunches - 05-09-2012, 04:02 AM
RE: Can someone take a look? - by JMFStorm - 05-09-2012, 04:42 AM
RE: Can someone take a look? - by Damascus - 05-09-2012, 05:00 AM
RE: Can someone take a look? - by Stepper321 - 05-09-2012, 05:04 PM
RE: Can someone take a look? - by Xanthos - 05-09-2012, 07:38 PM
RE: Can someone take a look? - by Cocomunches - 05-12-2012, 02:04 AM
RE: Can someone take a look? - by Cranky Old Man - 05-12-2012, 02:17 AM
RE: Can someone take a look? - by Cocomunches - 05-12-2012, 02:30 AM
RE: Can someone take a look? - by Cranky Old Man - 05-12-2012, 02:39 AM
RE: Can someone take a look? - by Cocomunches - 05-12-2012, 02:43 AM
RE: Can someone take a look? - by Cranky Old Man - 05-12-2012, 02:46 AM
RE: Can someone take a look? - by Cocomunches - 05-12-2012, 02:51 AM
RE: Can someone take a look? - by Cranky Old Man - 05-12-2012, 03:00 AM
RE: Can someone take a look? - by Cocomunches - 05-12-2012, 03:06 AM
RE: Can someone take a look? - by Cranky Old Man - 05-12-2012, 03:14 AM
RE: Can someone take a look? - by Cocomunches - 05-12-2012, 03:21 AM



Users browsing this thread: 2 Guest(s)