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


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

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#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. :p

@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
miguli Offline
Junior Member

Posts: 43
Threads: 7
Joined: Jun 2011
Reputation: 0
#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
Finska Offline
Member

Posts: 102
Threads: 6
Joined: Jun 2011
Reputation: 0
#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
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#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
miguli Offline
Junior Member

Posts: 43
Threads: 7
Joined: Jun 2011
Reputation: 0
#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
Finska Offline
Member

Posts: 102
Threads: 6
Joined: Jun 2011
Reputation: 0
#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
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#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
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#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
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#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
miguli Offline
Junior Member

Posts: 43
Threads: 7
Joined: Jun 2011
Reputation: 0
#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




Users browsing this thread: 2 Guest(s)