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 Message popup on area wont work
Rowzter Offline
Junior Member

Posts: 44
Threads: 12
Joined: Oct 2012
Reputation: 3
#1
Message popup on area wont work

I wrote a script so when i collide with an area a message will pop up on the screen, But it doesn't.

The Part From The Script:

AddEntityCollideCallback("Player", "Blowdoor_1", "Messagepopup", true, 1);



void Messagepopup(string &in asChild, string &in asParent, int alState)
{
SetMessage("Popupmessage_1", "Popup_1", 3);
}


And the .Lang:

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">What The Hell?</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
</CATEGORY>
<CATEGORY Name="Popupmessage_1">
<Entry Name="Popup_1">What The?</Entry>
</CATEGORY>
<CATEGORY Name="Descriptions">
</CATEGORY>
<CATEGORY Name="Levels">


What the hell idi i do wrong? :O
11-13-2012, 11:02 PM
Find


Messages In This Thread
Message popup on area wont work - by Rowzter - 11-13-2012, 11:02 PM
RE: Message popup on area wont work - by Rowzter - 11-13-2012, 11:25 PM



Users browsing this thread: 1 Guest(s)