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
Script Help Almost done
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#1
Almost done

Hi guys.

Im almost done with my first custom story, i only have three things that puts me to stop.

First. i have two script that dosen't work, although i can't find any error or missing thing, that could make them not work

The first one was supposed to make voices, but nothing happens

AddEntityCollideCallback("Player", "VoiceArea", "Voices", true, 1);

void Voices(string& asSoundName, string& asSoundFile, string& asEntity, float afFadeTime, bool abSaveSound)
{
PlaySoundAtEntity("", "ambience_voice", "Player", 0, false);
}



The second one was supposed to make a terror sound, like a monster was hunting, but nothing happens

SetEntityPlayerInteractCallback("potion_sanity_1", "FakeMonster", true);

void FakeMonster(string& asSoundName, string& asSoundFile, string& asEntity, float afFadeTime, bool abSaveSound)
{
PlaySoundAtEntity("", "ui_terror_meter", "Player", 0, false);
}




The last thing that irritates me, is that i dont know to make the game.
Like when you go through the last door, but instead of going to another room or map, the story ends.

I would be glad if you guys would help me

CURRENT PROJECT:
A Fathers Secret == Just started
(This post was last modified: 07-08-2012, 10:19 AM by Lizard.)
07-08-2012, 10:19 AM
Find


Messages In This Thread
Almost done - by Lizard - 07-08-2012, 10:19 AM
RE: Almost done - by Cruzore - 07-08-2012, 10:37 AM
RE: Almost done - by Lizard - 07-08-2012, 10:54 AM
RE: Almost done - by Cruzore - 07-08-2012, 11:13 AM
RE: Almost done - by Lizard - 07-08-2012, 11:18 AM



Users browsing this thread: 1 Guest(s)