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 HUD Problem
SSEAlexander Offline
Senior Member

Posts: 422
Threads: 26
Joined: Feb 2014
Reputation: 1
#5
RE: HUD Problem

(05-07-2014, 07:20 PM)DnALANGE Wrote: Take a look at an Example from my Original PREMONITION mod.
Here take a look and try to understand.

i need to download your mod?
Eh...

(05-07-2014, 07:20 PM)DnALANGE Wrote: Take a look at an Example from my Original PREMONITION mod.
Here take a look and try to understand.
PHP Code: (Select All)
////////Scripts made by DnALANGE ///////////

void OnStart()
{
/////HudShowsKeyInGarden/////
AddEntityCollideCallback("Player""HudMagnifierglass""MagnifierKeyGarden"false0);


                                 
/////Magnifierglass/////
    
void MagnifierKeyGarden(string &in asParentstring &in asChildint alState)
{
if(
alState == 1)
{
StartInsanityEvent("MagnifierGlass_1");
}

if(
alState == -1)
{
StopCurrentInsanityEvent();
}
}
                                          
/////EndHud///// 
-----
What this does is when your are INSIDE a SCRIPTAREA (HudMagnifierglass) the event is there, when you LEAVE the SCRIPTAREA the event will STOP.

Doeessnt work.
I used StartInsanityEvent("M4A4");
to the
"OnStart"
and nothing happened.Just tell me old script...
(This post was last modified: 05-07-2014, 07:30 PM by SSEAlexander.)
05-07-2014, 07:21 PM
Find


Messages In This Thread
HUD Problem - by SSEAlexander - 05-07-2014, 06:27 PM
RE: HUD Problem - by DnALANGE - 05-07-2014, 07:16 PM
RE: HUD Problem - by SSEAlexander - 05-07-2014, 07:18 PM
RE: HUD Problem - by DnALANGE - 05-07-2014, 07:20 PM
RE: HUD Problem - by SSEAlexander - 05-07-2014, 07:21 PM
RE: HUD Problem - by FlawlessHappiness - 05-07-2014, 08:23 PM
RE: HUD Problem - by DnALANGE - 05-07-2014, 09:20 PM
RE: HUD Problem - by SSEAlexander - 05-09-2014, 03:31 PM
RE: HUD Problem - by PutraenusAlivius - 05-09-2014, 04:20 PM
RE: HUD Problem - by SSEAlexander - 05-10-2014, 03:41 PM
RE: HUD Problem - by DnALANGE - 05-10-2014, 03:48 PM
RE: HUD Problem - by SSEAlexander - 05-10-2014, 04:02 PM
RE: HUD Problem - by SSEAlexander - 05-10-2014, 05:55 PM
RE: HUD Problem - by DnALANGE - 05-10-2014, 08:01 PM
RE: HUD Problem - by SSEAlexander - 05-10-2014, 08:03 PM



Users browsing this thread: 1 Guest(s)