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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ladder Item not working on piece of ladder?
HumiliatioN Offline
Posting Freak

Posts: 1,179
Threads: 64
Joined: Dec 2010
Reputation: 18
#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!



“Life is a game, play it”
(This post was last modified: 07-03-2011, 10:26 AM by HumiliatioN.)
07-03-2011, 09:31 AM
Find


Messages In This Thread
RE: Ladder Item not working on piece of ladder? - by HumiliatioN - 07-03-2011, 09:31 AM



Users browsing this thread: 1 Guest(s)