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", 5.9f, "beginStory"); // Change '5.9f' to however long you want the 'unconciousness' to last
}
You had quotes around the false at FadeEnemy, and quotes around a float at the path nodes. If the value is false/true or a number, you almost never need a quotation mark (unless your item is named 1 or true, of course)
Okay I can run the map now, but I need to know where I put void DisableEnemyTriggers("servant_grunt_1" true);
And they Wake Up function doesn't work. No more errors for the moment
EDIT: I edited the Cells5.hps and added wakeUp(); to the OnStart() section, not sure if it fixed the Wake Up, will try in the morning.
I've come to learn to not fear the living, nor the dead... But the monsters that hide in closets.
(This post was last modified: 05-24-2011, 04:07 AM by RawkBandMan.)