Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Gametee


Post Reply 
 
Thread Rating:
  • 2 Vote(s) - 1.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
4* Questions and Questions are in comic :O
Author Message
Kyle Offline
Posting Freak

Posts: 911
Joined: Sep 2010
Reputation: 7
Post: #11
RE: 4* Questions and Questions are in comic :O

Oops. Sorry guys, I must have forgot about it because I was in a rush. And yes, it should be fixed. Tongue

@Miguli;

It should be this:

void OnStart()
{
     SetEntityPlayerInteractCallback("note_letter_1", "Func01", true);
}
void Func01(string &in asEntity)
{
     SetEntityActive("grunt_1", true);
}

06-10-2011 10:40 PM
Find all posts by this user Quote this message in a reply
miguli Offline
Junior Member

Posts: 43
Joined: Jun 2011
Reputation: 0
Post: #12
RE: 4* Questions and Questions are in comic :O

Thanks! Now it's working Smile

(btw: do you know what is annoying when test maps. Must test monsters.)

Amnesia map:
Hope - Work in Progress.
06-10-2011 10:55 PM
Find all posts by this user Quote this message in a reply
Finska Offline
Member

Posts: 102
Joined: Jun 2011
Reputation: 0
Post: #13
RE: 4* Questions and Questions are in comic :O

It's not so scary, when you know they're coming.

Creeps, creeps everywhere...
06-10-2011 10:58 PM
Find all posts by this user Quote this message in a reply
xtron Offline
Senior Member

Posts: 402
Joined: May 2011
Reputation: 2
Post: #14
RE: 4* Questions and Questions are in comic :O

(06-10-2011 10:58 PM)Finska Wrote:  It's not so scary, when you know they're coming.

Don't say that :O. I don't know if it's only me but sometimes when I'm trying the monster out and I'm distracted then the monster appears...damn...I can't play amnesia for a day after that event.

[Image: 44917299.jpg]Dubstep <3
(This post was last modified: 06-10-2011 11:03 PM by xtron.)
06-10-2011 11:02 PM
Find all posts by this user Quote this message in a reply
miguli Offline
Junior Member

Posts: 43
Joined: Jun 2011
Reputation: 0
Post: #15
RE: 4* Questions and Questions are in comic :O

Amnesia = F*cking scary.
But again with problems, error comes again and i dont get it what is wrong, help me?

Quote://////////////////////////////////
//Taking letter is making Grunt_1
void OnStart()
{
SetEntityPlayerInteractCallback("note_letter_1", "Func01", true);
}
void Func01(string &in asEntity)
{
SetEntityActive("grunt_1", true);
}
////////////////////////////////////////////////////////////
// Enemy Disapears when player is safearea_1
void OnStart()
{
AddEntityCollideCallback("Player", "safearea_1", "Func02", false, 1);
}
void Func02(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("grunt_1", false);
}

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

}

I tested without void OnStart() but nothing special, only error.

////////////////////////////////////////////////////////////
// Enemy Disapears when player is safearea_1
{
AddEntityCollideCallback("Player", "safearea_1", "Func02", false, 1);
}
void Func02(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("grunt_1", false);
}

Amnesia map:
Hope - Work in Progress.
06-10-2011 11:07 PM
Find all posts by this user Quote this message in a reply
Finska Offline
Member

Posts: 102
Joined: Jun 2011
Reputation: 0
Post: #16
RE: 4* Questions and Questions are in comic :O

Oh, I like to play with monsters. When you see them often enough, they will be nice guys Smile I like teasing them and throwing 'em with the boxes and going to ninja-mode

Creeps, creeps everywhere...
06-10-2011 11:07 PM
Find all posts by this user Quote this message in a reply
xtron Offline
Senior Member

Posts: 402
Joined: May 2011
Reputation: 2
Post: #17
RE: 4* Questions and Questions are in comic :O

dude...Big Grin
add me on steam or msn so I can teach some basics about the scripting parts ^^

msn: mattias_dionysus@hotmail.com
steam: xuxz0r

[Image: 44917299.jpg]Dubstep <3
06-10-2011 11:08 PM
Find all posts by this user Quote this message in a reply
Kyle Offline
Posting Freak

Posts: 911
Joined: Sep 2010
Reputation: 7
Post: #18
RE: 4* Questions and Questions are in comic :O

@Miguli;

You CAN'T have two void onstarts! Sad

Try merging them by putting both of them in the same void onstart.

06-10-2011 11:10 PM
Find all posts by this user Quote this message in a reply
xtron Offline
Senior Member

Posts: 402
Joined: May 2011
Reputation: 2
Post: #19
RE: 4* Questions and Questions are in comic :O

(06-10-2011 11:07 PM)Finska Wrote:  Oh, I like to play with monsters. When you see them often enough, they will be nice guys Smile I like teasing them and throwing 'em with the boxes and going to ninja-mode

haha yea sometimes ^^. I remember...I guess it's at "study" or something but when you need to break a door open with a crowbar then a monster appears. I find it funny to block the door with alot of props and then stand behind 'em so the monster gets mad and can't hit me XD. But the sad part is when he actually destroys the barricade and kill me...that's the shit my pants part Sad

[Image: 44917299.jpg]Dubstep <3
(This post was last modified: 06-10-2011 11:11 PM by xtron.)
06-10-2011 11:10 PM
Find all posts by this user Quote this message in a reply
miguli Offline
Junior Member

Posts: 43
Joined: Jun 2011
Reputation: 0
Post: #20
RE: 4* Questions and Questions are in comic :O

Xtron: I put you to my Msn, i dont play in steam for while now. (Becaus this computer is shitty and i dont wanna see Loaders. :I)

Kyle: Ummm..... with { } tags or something? yeah... i am with scripts VERY VERY bad, loser, something Sad

E: i can't go msn now becaus it's offline for while. :I

Amnesia map:
Hope - Work in Progress.
(This post was last modified: 06-10-2011 11:16 PM by miguli.)
06-10-2011 11:13 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)