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
I GIVE UP!
Angerpull Offline
Member

Posts: 88
Threads: 24
Joined: Jun 2011
Reputation: 0
#3
RE: I GIVE UP!

(09-27-2011, 12:32 AM)Angerpull Wrote: This sucks... I've tried EVERYTHING to make this damn thing do as I tell it to, but this trolling game doesn't let me! All I want to do is make the screen show me a message...

Here is my Script

Spoiler below!


void OnStart()
{
AddEntityCollideCallback("Player", "Donejob", "Goodjob", true, 1);
}

void Goodjob(string &in asTimer)
{
SetMessage("Message", "Jobdone", 3.0f);
}

////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}


And here is my Lang file...
Spoiler below!









What's that? Who's there? What's that noise? This is a story of Jack, the man who owns a bar at a rest stop in the woods. Will you survive, or shall you humbly perish?












Well, another day over. Well I am off for a vacation tomorrow! Can't wait!






Please for the love of God, Help me!
Seems that my Lang file got a little bugged when I tried to show it...

___________________________________________________

<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
Entry Name="Description">What's that? Who's there? What's that noise? This is a story of Jack, the man who owns a bar at a rest stop in the woods. Will you survive, or shall you humbly perish?</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
</CATEGORY>
<CATEGORY Name="Journal">
</CATEGORY>
<CATEGORY Name ="Message">
<Entry Name="Jobdone">Well, another day over. Well I am off for a vacation tomorrow! Can't wait!</Entry>
</CATEGORY>
</LANGUAGE>
(09-27-2011, 12:37 AM)Juby Wrote:
(09-27-2011, 12:32 AM)Angerpull Wrote: This sucks... I've tried EVERYTHING to make this damn thing do as I tell it to, but this trolling game doesn't let me! All I want to do is make the screen show me a message...

Here is my Script

Spoiler below!


void OnStart()
{
AddEntityCollideCallback("Player", "Donejob", "Goodjob", true, 1);
}

void Goodjob(string &in asTimer)
{
SetMessage("Message", "Jobdone", 3.0f);
}

////////////////////////////
// Run when entering map
void OnEnter()
{

}

////////////////////////////
// Run when leaving map
void OnLeave()
{

}

You have an entity collide callback set as a timer...
should be "void Goodjob(string &in asChild, string &in asParent, int alState)"
It didn't work when I changed it... Nothing at all appears.
(This post was last modified: 09-27-2011, 12:40 AM by Angerpull.)
09-27-2011, 12:38 AM
Find


Messages In This Thread
I GIVE UP! - by Angerpull - 09-27-2011, 12:32 AM
RE: I GIVE UP! - by Juby - 09-27-2011, 12:37 AM
RE: I GIVE UP! - by Angerpull - 09-27-2011, 12:38 AM
RE: I GIVE UP! - by Tanshaydar - 09-27-2011, 12:45 AM
RE: I GIVE UP! - by Angerpull - 09-27-2011, 01:25 AM
RE: I GIVE UP! - by Homicide13 - 09-27-2011, 01:30 AM
RE: I GIVE UP! - by Your Computer - 09-27-2011, 01:32 AM
RE: I GIVE UP! - by Selyp - 09-27-2011, 01:38 AM
RE: I GIVE UP! - by Angerpull - 09-27-2011, 01:57 AM
RE: I GIVE UP! - by Kyle - 09-27-2011, 10:41 AM
RE: I GIVE UP! - by Juby - 09-27-2011, 12:45 PM



Users browsing this thread: 1 Guest(s)