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 Script Error
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#5
RE: Script Error

(07-01-2015, 10:11 PM)Amnesiaplayer Wrote:
(07-01-2015, 10:04 PM)FlawlessHappiness Wrote: Looking away from your script, and just at what you said I'd presume what you want is

void Info(string &in asEntity)
{
SetMessage("Message","CarScript", 0);
}

Then put this in void OnStart()

SetEntityPlayerInteractCallback(NameOfEntity, "Info", false);

You don't need the setentityplayerinteractcallback, this is possible in the entity tab itself, for the entities. right?

It is. But that's harder to explain, and I'd rather just avoid communication errors.

Trying is the first step to success.
07-02-2015, 01:24 AM
Find


Messages In This Thread
Script Error - by MaksoPL - 07-01-2015, 06:50 PM
RE: Script Error - by Amnesiaplayer - 07-01-2015, 08:42 PM
RE: Script Error - by FlawlessHappiness - 07-01-2015, 10:04 PM
RE: Script Error - by Amnesiaplayer - 07-01-2015, 10:11 PM
RE: Script Error - by FlawlessHappiness - 07-02-2015, 01:24 AM
RE: Script Error - by Romulator - 07-02-2015, 02:39 AM
RE: Script Error - by FlawlessHappiness - 07-02-2015, 11:45 AM
RE: Script Error - by Radical Batz - 07-02-2015, 12:11 PM



Users browsing this thread: 1 Guest(s)