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
Examine script
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: Examine script

(08-08-2013, 07:41 AM)Tomzzz Wrote: Hello, i cant get examine script working, ive tried everything but its still not working when i click on candlestick it does nothing..

im using Area Examine in map:
Name: ExamineArea_1
DescCat: Examine
DescEntry: InteractCandlestick



Map script:
PHP Code: (Select All)
void OnStart()
{    
SetEntityPlayerInteractCallback("InteractCandlestick""InteractCandlestick"true);
}

void InteractCandlestick(string &in asTimer)
{
SetMessage("Examine""InteractCandlestick"0);
}


void OnLeave()
{
 



Extra english:

<CATEGORY Name = "Examine">
<Entry Name="InteractCandlestick">It is a candlestick.</Entry>
</CATEGORY>


PHP Code: (Select All)
void OnStart()
{    
SetEntityPlayerInteractCallback("InteractCandlestick""InteractCandlestick"true);
}

void InteractCandlestick(string &in asEntity)
{
SetMessage("Examine""InteractCandlestick"0);
}


void OnLeave()
{
 


There, fixed it for you. You had the parameter wrong (string &in asTimer) instead (string &in asEntity)

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
08-08-2013, 10:00 AM
Find


Messages In This Thread
Examine script - by Tomzzz - 08-08-2013, 07:41 AM
RE: Examine script - by The chaser - 08-08-2013, 10:00 AM
RE: Examine script - by Tomzzz - 08-08-2013, 10:19 AM
RE: Examine script - by Adrianis - 08-08-2013, 11:03 AM
RE: Examine script - by Tomzzz - 08-08-2013, 11:07 AM
RE: Examine script - by Adrianis - 08-08-2013, 12:21 PM
RE: Examine script - by The chaser - 08-08-2013, 11:07 AM
RE: Examine script - by Kreekakon - 08-08-2013, 11:12 AM
RE: Examine script - by The chaser - 08-08-2013, 11:15 AM
RE: Examine script - by The chaser - 08-08-2013, 11:14 AM
RE: Examine script - by Tomzzz - 08-08-2013, 11:14 AM
RE: Examine script - by The chaser - 08-08-2013, 11:19 AM
RE: Examine script - by Tomzzz - 08-08-2013, 11:19 AM
RE: Examine script - by Tomzzz - 08-08-2013, 11:25 AM
RE: Examine script - by The chaser - 08-08-2013, 11:36 AM



Users browsing this thread: 3 Guest(s)