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

Privacy Policy


Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ladder Item not working on piece of ladder?
Author Message
HumiliatioN Online
Posting Freak

Posts: 984
Joined: Dec 2010
Reputation: 10
Post: #1
Ladder Item not working on piece of ladder?
This is strange I have same areas builded on "Professor Brislows castle" First Ladder area then Area where piece of ladder goes.

and this is the script:

{
AddUseItemCallback("", "ladder_item_1", "PlaceLadder", "LadderOn", true);
}

void LadderOn(string &in asItem, string &in asEntity)
{
SetEntityActive("LadderArea_1", true);
SetEntityActive("ladder_static_1", true);
GiveSanityBoostSmall();
}

Not working what im missing?

Help is quickly needed then I can finish this map for good Smile

Investigator - WIP
07-02-2011 11:53 AM
Find all posts by this user Quote this message in a reply
Hardarm Offline
Senior Member

Posts: 700
Joined: Apr 2011
Reputation: 34
Post: #2
RE: Ladder Item not working on piece of ladder?
What is PlaceLadder? an Area?

07-02-2011 04:09 PM
Visit this user's website Find all posts by this user Quote this message in a reply
HumiliatioN Online
Posting Freak

Posts: 984
Joined: Dec 2010
Reputation: 10
Post: #3
RE: Ladder Item not working on piece of ladder?
(07-02-2011 04:09 PM)Hardarm Wrote:  What is PlaceLadder? an Area?

Static entity from justine.

Investigator - WIP
07-03-2011 01:10 AM
Find all posts by this user Quote this message in a reply
Hardarm Offline
Senior Member

Posts: 700
Joined: Apr 2011
Reputation: 34
Post: #4
RE: Ladder Item not working on piece of ladder?
Are you sure in the map is called like that?
And why doesn't the first function have a name?

(This post was last modified: 07-03-2011 01:29 AM by Hardarm.)
07-03-2011 01:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
HumiliatioN Online
Posting Freak

Posts: 984
Joined: Dec 2010
Reputation: 10
Post: #5
RE: Ladder Item not working on piece of ladder?
(07-03-2011 01:28 AM)Hardarm Wrote:  Are you sure in the map is called like that?
And why doesn't the first function have a name?

It's called and what first function not having a name? I have that name "LadderOn" ? or what are you meaning? Huh
(07-03-2011 09:31 AM)HumiliatioN Wrote:  
(07-03-2011 01:28 AM)Hardarm Wrote:  Are you sure in the map is called like that?
And why doesn't the first function have a name?

It's called and what first function not having a name? I have that name "LadderOn" ? or what are you meaning? Huh

EDIT: Okay i fixed the problem but now when i "put that piece on that mount ladder okay it builds that piece of ladder touchable ladder but i cant climb it Sad

Whats the problem ?

Script:


void OnStart()
{
AddEntityCollideCallback("Player", "Entrymusic", "MusicControl", false, 0);
AddEntityCollideCallback("Player", "Flying_corpse", "Scarecorpse", true, 1);
AddEntityCollideCallback("Player", "Reversescares", "Horrordogs", true, 1);
AddUseItemCallback("", "ladder_item_1", "ladder_mount_1", "spawnladder", true);
}

void spawnladder(string &in asItem, string &in asEntity)
{
SetEntityActive("static_1", true);
SetEntityActive("LadderArea_1", true);
SetEntityActive("ladder_item_1", false);
RemoveItem("ladder_item_1");
GiveSanityBoostSmall();
}

Help is needed again!

Investigator - WIP
(This post was last modified: 07-03-2011 10:26 AM by HumiliatioN.)
07-03-2011 09:31 AM
Find all posts by this user Quote this message in a reply
Hardarm Offline
Senior Member

Posts: 700
Joined: Apr 2011
Reputation: 34
Post: #6
RE: Ladder Item not working on piece of ladder?
Yeah you have to replace the ladder area a thousand of times till it's working, I always put it in different positions if it isn't working, Try to keep it some inches far from the ladder or check the sewers map or the cistern entrance to have an idea how it shall be putted :/

Send me an image of your area ladder in the editor

(This post was last modified: 07-03-2011 01:33 PM by Hardarm.)
07-03-2011 01:32 PM
Visit this user's website Find all posts by this user Quote this message in a reply
HumiliatioN Online
Posting Freak

Posts: 984
Joined: Dec 2010
Reputation: 10
Post: #7
RE: Ladder Item not working on piece of ladder?
(07-03-2011 01:32 PM)Hardarm Wrote:  Yeah you have to replace the ladder area a thousand of times till it's working, I always put it in different positions if it isn't working, Try to keep it some inches far from the ladder or check the sewers map or the cistern entrance to have an idea how it shall be putted :/

Send me an image of your area ladder in the editor

Never mind I got it working "Ladder area was too small to character" Smile

Investigator - WIP
07-03-2011 01:46 PM
Find all posts by this user Quote this message in a reply
Post Reply 




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