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
Frustration Overdose (Help!)
GhastDagger Offline
Junior Member

Posts: 9
Threads: 3
Joined: Sep 2011
Reputation: 0
#1
Frustration Overdose (Help!)

Hello there buds, after i played "almost" all the custom stories out there..my cleaver mind told me to make my very own Custom Story!
i was doing great until i that fearsome big jawed monster called "Scripting" stood on my way and told me that there's no way for me to pass him..
i crumbled to the ground..crying and yelling for help! and here i am.. seeing the light from above..

ok enough dramatic crap and here's the problem: idk what's wrong but almost every thing i do in scripting part goes wrong, like now i want that monster to break in a room after the player picks something up.. he doesn't appear! and worst of all, the items/keys/Notes i put are empty even when i write the desc/name in the Language file..


P.S: how can i do a scare moment? (like when you see a corpse and the camera shake with a sanity decrease)

and before you ask here's the map's HPS file:


void OnStart()
{
AddUseItemCallback("", "Closet_Key", "Closet_1", "KeyOnDoor", true);
SetEntityCallbackFunc("Emperor's Head", "NoteCallback");
}


void KeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("Closet_1", false, true);
PlaySoundAtEntity("", "unlock_door", "Closet_1", 0, false);
RemoveItem("Closet_Key");
}


void NoteCallback(string &in entity, string &in type)
{
if(type == "OnPickup") SetEntityActive("Suiter", true);
}


And the language file:






chaos started to haul over and things became nasty..but with style




A silver key to the main hall
Main hall key
A small rusty key.
Closet Key


Survivors
If you're reading this, please go through the trap door.. it's the only way out! [br]And don't forget to get whatever's left in the storage. [br]The Chief.
Please help us..
Take my head and throw it into the holy well, it's the only way to send these demons back to Oblivion[br][br][br]Good Luck [br] Emperor Jarry Willson.






Please help a hopeless nooby out Sad
10-07-2011, 07:55 PM
Find


Messages In This Thread
Frustration Overdose (Help!) - by GhastDagger - 10-07-2011, 07:55 PM
RE: Frustration Overdose (Help!) - by Rownbear - 10-07-2011, 10:33 PM
RE: Frustration Overdose (Help!) - by GhastDagger - 10-08-2011, 11:27 AM
RE: Frustration Overdose (Help!) - by Elven - 10-08-2011, 02:34 PM
RE: Frustration Overdose (Help!) - by GhastDagger - 10-08-2011, 03:43 PM
RE: Frustration Overdose (Help!) - by Rownbear - 10-08-2011, 05:17 PM
RE: Frustration Overdose (Help!) - by GhastDagger - 10-08-2011, 06:25 PM
RE: Frustration Overdose (Help!) - by Rownbear - 10-08-2011, 08:45 PM
RE: Frustration Overdose (Help!) - by GhastDagger - 10-09-2011, 11:36 AM



Users browsing this thread: 1 Guest(s)