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
Questions
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#31
RE: Unlocking door Error...

oohh i forgot that! (i copied from a comment in a youtube video) Tongue thanks!

uhm.. thanks but i got a problem... again i did everything on the post of that person that Explains how to do it... but if i use my key the door is unlocked but i CAN'T acces... and if i Uncheck the box (locked) i can go throug the door.. so i teleport to an other place ( yes it's an Door gate hub..)
i did everything..

EDIT:
thanks! but i found it! i just droppped a NORMAL door... and named that door1 and that other Hubdoor named something other,.. and isn't locked so i can use my key for the normal door Big Grin and then to the open Hub Big Grin (srry for bad english)
thanks!
(This post was last modified: 06-07-2014, 12:15 PM by Amnesiaplayer.)
06-07-2014, 11:49 AM
Find
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#32
(picking key) *steve comes*

is it possible...
when pickin up a key Steve will come ?!
i think it is possible... can someone give me link :S where they tell how to do it... srry but i'm a noob in this forum...
06-07-2014, 12:32 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#33
RE: (picking key) *steve comes*

Uh...
Before we go into this..
Steve i guess is an enemy..
Here is the script for:
PHP Code: (Select All)
OnStart()
{
SetEntityPlayerInteractCallback("YOURKEYNAMEHERE""ShowSteve"false);


//Here is the exctual script.
PHP Code: (Select All)
void ShowSteve(string &in asEntity)
{
SetEntityActive("THEENEMYNAMEHERE"true);
ShowEnemyPlayerPosition("THEENEMYNAMEHERE");//This will set the enemy to attack the player whereever the player is.


I guess this is something you want..
(This post was last modified: 06-07-2014, 12:42 PM by DnALANGE.)
06-07-2014, 12:37 PM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#34
RE: (picking key) *steve comes*

Steve is the grunt apparently.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
06-07-2014, 12:44 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#35
RE: Unlocking door Error...

As we tell a "Hubdoor" is a
PHP Code: (Select All)
SetLevelDoorLocked("level_orb_room_door_1"false); 
//This is a LEVEL DOOR.
Witch means that a
PHP Code: (Select All)
SetSwingDoorLocked("Swingdoor"truefalse); 
is NOT the same as a LEVEL door.
A Swingdoor you can open and close.. a Level door you can NOT.
Keep that in mind.
(This post was last modified: 06-07-2014, 12:47 PM by DnALANGE.)
06-07-2014, 12:45 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#36
RE: (picking key) *steve comes*

I guess so as well Rom*.
06-07-2014, 12:48 PM
Find
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#37
RE: Unlocking door Error...

ow... Thanks! i will Remind this! i hope.!!!!
thankyouBig Grin
06-07-2014, 01:21 PM
Find
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#38
RE: (picking key) *steve comes*

Yes! i mean that|! if i pick the key steve will come out the Closet! so he will attack me Big Grin so i have to put this in my HPS and the names... okey i try!

Thanks man! it worked!!!
now i know must things about that jumpscare things. Big Grin i guess..
(This post was last modified: 06-07-2014, 01:32 PM by Amnesiaplayer.)
06-07-2014, 01:22 PM
Find
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#39
Where ?!

Where must i type void OnLeav() ?!
on 01.hp or 02.hps ?
06-07-2014, 02:59 PM
Find
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#40
Information  OnLeave() where to locate

i have2 map (for now) and one HPS file and i see you can use 1 Hps file with the exact same name as the Map name... so i made an second hps file but it says Error ?! if i go to the other map (in gameplay) it says something with the ...???OnLEave() blabla ?
can someone help me ?
06-07-2014, 03:45 PM
Find




Users browsing this thread: 1 Guest(s)