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
Extra_english.lang file aint working
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#12
RE: Extra_english.lang file aint working

It still doesn't work

Here's my script
Spoiler below!

void OnStart()
{
AddEntityCollideCallback("Player", "door_open_hall_key", "Doorslam1", true, 1);
}

void Doorslam1(string &in asParent, string &in asChild, int alState)
{
SetSwingDoorClosed("door_to_hall_key", true, true);
StartPlayerLookAt("door_to_hall_key", 10.0f, 10.0f, "");
AddTimer("", 1.0f, "stoplook");
}

Void stoplook(strin &in asTimer)
{
StopPlayerLookAt();
}




And here's my entity names etc in hpl2 editor.
Spoiler below!

Script area:
GENERAL
Name: door_open_hall_key
[X] Active

AREA
PlayerLookAtCallback: door_open_hall_key
[X] PlayerLookAtcallBackAutoRemo...

The door:
GENERAL
Name: door_to_hall_key
[X] Active

ENTITY
[X] CastShadows
CallbackFunc: door_to_hall_key
OpenAmount: 1

These are my settings for the scriptarea and for the door. The settings I didn't mention, I didn't change at all.


[Image: 44917299.jpg]Dubstep <3
(This post was last modified: 05-25-2011, 06:05 PM by xtron.)
05-25-2011, 06:03 PM
Find


Messages In This Thread
Extra_english.lang file aint working - by xtron - 05-25-2011, 04:25 PM
RE: Extra_english.lang file aint working - by xtron - 05-25-2011, 06:03 PM



Users browsing this thread: 1 Guest(s)