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:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
JENS OR ANYBODY who has all knowlege of SANITYEVENTS\HUDS.HELP!!!
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#1
JENS OR ANYBODY who has all knowlege of SANITYEVENTS\HUDS.HELP!!!

[/u]hERE IS THE PROBLEM:


void OnStart()
{
AddEntityCollideCallback("Player", "ActivateGlass", "GoCheckthehud", true, 1);
}

void GoCheckthehud(string &in asParent, string &in asChild, int alState)
{
CheckHUD();
}

void CheckHUD()
{
if(InsanityEventIsActive() == false)
{
SetInsanitySetEnabled("PhoneHud_New", true);
StartRandomInsanityEvent();
CheckHUD();
}
return;
}

---------------
I want a Specific HUD "sanityEvent" to pop up AFTER i enter a script area.
It gives me this error message..
COMPILING VOIDCHECKHUD...
NO CONVERSION FROM VOID TO BOOL AVAILABLE...
-----
Maybe someone could help me out.

QUESTION 2[u]
How can i be 100% sure that my CUSTOM HUD works everytime i enter an area...
The issue is this :
The HUD only appears RANDOMLY like 4\10 times is does show up..
as you could understand.. it must ALWAYS SHOW UP!!
---
Is there any script that could CHECK IF SetInsanitySetEnabled("PhoneHud_New", true); ==good,,,,, if that sanityevent is NOT activated then make some script that it MUST activate it!?!?!
--
Thank you for reading and helping me.
DnALANGE
(This post was last modified: 07-09-2013, 06:30 PM by DnALANGE.)
07-08-2013, 02:51 PM
Find


Messages In This Thread
JENS OR ANYBODY who has all knowlege of SANITYEVENTS\HUDS.HELP!!! - by DnALANGE - 07-08-2013, 02:51 PM



Users browsing this thread: 1 Guest(s)