DnALANGE
Banned
Posts: 1,549
Threads: 73
Joined: Jan 2012
|
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 |
|