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
Pages Falling Out Of Journal
7heDubz Offline
Posting Freak

Posts: 1,329
Threads: 40
Joined: Feb 2013
Reputation: 41
#1
Pages Falling Out Of Journal

So i want some pages to fall out of a journal... Here's what i need exactly.

How to check if a note has been picked up.
so that i can then set a bunch of pages active for the player to pick up.

Need more info? Have an idea on how Im going to do this? I dont script often and i looked around in the scripts but i couldnt find what i was looking for.

Another question, for the CheckIfEntitiyExists function (probably not that exactly) What EXACTLY does that mean. If i have an entity set to false will that still return true?

01-26-2014, 06:00 AM
Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#2
RE: Pages Falling Out Of Journal

Please make sure you post in the right section of the forums.
01-26-2014, 06:11 AM
Find
7heDubz Offline
Posting Freak

Posts: 1,329
Threads: 40
Joined: Feb 2013
Reputation: 41
#3
RE: Pages Falling Out Of Journal

Sorry Traggey Q.Q

01-26-2014, 06:32 AM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#4
RE: Pages Falling Out Of Journal

As far as I know, you can't really do anything there about your Journal... I don't think at any time in Amnesia itself had you ever needed to lose pages in your journal, even after the grunts attack you and throw you into the cage. Unless you FC a way to disable your journal perhaps after picking up a note, then later on finding the same note in a similar area to make it look like you dropped it.

Also, what you're talking about (I think) is this:
PHP Code: (Select All)
GetEntityExists(stringasName); 

I have never tested it, but I will assume that a name you assign something in the Level Editor is what goes into as a string. This was probably used (unless local/global vars were) when Daniel would pick up parts of a diary (where he would read) and it would determine which of the three you had picked up. Again, just an assumption. Haven't looked at those codes.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
01-26-2014, 06:53 AM
Find
7heDubz Offline
Posting Freak

Posts: 1,329
Threads: 40
Joined: Feb 2013
Reputation: 41
#5
RE: Pages Falling Out Of Journal

Ah, Not lose pages in the journal that you have already picked up think more, you pick up a journal and pages literally fall out of it.

01-26-2014, 07:09 AM
Find
Traggey Offline
is mildly amused

Posts: 3,257
Threads: 74
Joined: Feb 2012
Reputation: 185
#6
RE: Pages Falling Out Of Journal

That'd be a particle system, create one using the particle editor.
01-26-2014, 07:30 AM
Find
7heDubz Offline
Posting Freak

Posts: 1,329
Threads: 40
Joined: Feb 2013
Reputation: 41
#7
RE: Pages Falling Out Of Journal

Okay lemme be more clear.

I have the book made. You pick it up. then a bunch of pages beneath it on the floor become active.

01-26-2014, 08:25 AM
Find
ingedoom Offline
Member

Posts: 120
Threads: 12
Joined: Feb 2012
Reputation: 0
#8
RE: Pages Falling Out Of Journal

You want to use the model editor and turn a book into an item that can be picked up, then use the onPickup() function to make all the journal pages become active underneath.

Okay? - I think I understood it correctly?

Edit: Look up "void SetEntityCallbackFunc(string& asName, string& asCallback);" in the reference.

[Image: 23778.png]
(This post was last modified: 01-26-2014, 09:03 AM by ingedoom.)
01-26-2014, 08:59 AM
Website Find
7heDubz Offline
Posting Freak

Posts: 1,329
Threads: 40
Joined: Feb 2013
Reputation: 41
#9
RE: Pages Falling Out Of Journal

Ahhh thankyou very much yes!

01-26-2014, 09:24 AM
Find




Users browsing this thread: 1 Guest(s)