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
ye ye another problem -.- "flashback"
sassix Offline
Member

Posts: 56
Threads: 13
Joined: Jan 2011
Reputation: 0
#1
ye ye another problem -.- "flashback"

yo,

well i want using 4 different flashbacks in one map, at least theyre working but all 4 flashbacks have the same text in it :O i dont know why :/

Quote:thats what i wrote in "onstart" .hps

SetEntityPlayerLookAtCallback("flashback_01", "Insanity1", true);
SetEntityPlayerLookAtCallback("flashback_02", "Insanity2", true);
SetEntityPlayerLookAtCallback("flashback_03", "Insanity3", true);
SetEntityPlayerLookAtCallback("flashback_04", "Insanity4", true);

Quote:thats what i wrote in my start insanity section

void Insanity1(string &in entity, int alState)
{
PlaySoundAtEntity("", "insanity_whisper.snt", "Player", 0, false);
GiveSanityDamage(30.0f, true);
AddTimer("Stoplook", 2.0f, "PlayerStopLook");
}

void Insanity2(string &in entity, int alState)
{
PlaySoundAtEntity("", "general_piano03.snt", "Player", 0, false);
GiveSanityDamage(30.0f, true);
AddTimer("Stoplook", 2.0f, "PlayerStopLook");
}

void Insanity3(string &in entity, int alState)
{
PlaySoundAtEntity("", "insanity_whisper.snt", "Player", 0, false);
GiveSanityDamage(30.0f, true);
AddTimer("Stoplook", 2.0f, "PlayerStopLook");
}

void Insanity4(string &in entity, int alState)
{
PlaySoundAtEntity("", "insanity_whisper.snt", "Player", 0, false);
GiveSanityDamage(30.0f, true);
AddTimer("Stoplook", 2.0f, "PlayerStopLook");
}

and thats what i wrote in the extra_german.lang
Quote:<CATEGORY Name="Flashbacks">
<Entry Name="Flashback_01">Autsch... Mein Kopf schmerzt. Ich sollte mir eine Aspirin aus dem Bad holen gehen !</Entry>
<Entry Name="Flashback_02">Was zum...</Entry>
<Entry Name="Flashback_03">Was passiert hier verdammt nochmal...</Entry>
<Entry Name="Flashback_04">Das ist unmöglich Real...</Entry>
</CATEGORY>

hope u can help me and mb fix it ;/ THX
(This post was last modified: 01-09-2011, 05:28 PM by sassix.)
01-09-2011, 05:25 PM
Find


Messages In This Thread
ye ye another problem -.- "flashback" - by sassix - 01-09-2011, 05:25 PM



Users browsing this thread: 1 Guest(s)