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
help script stuff sorta
MrJackrabbit Offline
Junior Member

Posts: 26
Threads: 10
Joined: Nov 2013
Reputation: 0
#9
RE: help script stuff sorta

(12-23-2013, 01:28 AM)JustAnotherPlayer Wrote:
Spoiler below!

void OnStart()
{
}

void DoorLockedPlayer(string &in entity)
{
if(GetSwingDoorLocked("mansion_1") == true)
{
SetMessage("DoorLocked", "doorlocked1", 0);
}
}


Your lang file is good. Above this text but in the same post is the script. You did put the PlayerInteractCallback function in the door properties in the Level Editor right?

EDIT: It only takes one error in the lang file for the whole lang file to get broken. If the lang file is broken, NO error messages WILL APPEAR. You can't see your description IF you had one.

yea i did thatt. ohhh i think i put the void DoorLocked thing in the wrong place. ill omve that to OnStart and see if it works.

(12-23-2013, 01:31 AM)MrJackrabbit Wrote:
(12-23-2013, 01:28 AM)JustAnotherPlayer Wrote:
Spoiler below!

void OnStart()
{
}

void DoorLockedPlayer(string &in entity)
{
if(GetSwingDoorLocked("mansion_1") == true)
{
SetMessage("DoorLocked", "doorlocked1", 0);
}
}


Your lang file is good. Above this text but in the same post is the script. You did put the PlayerInteractCallback function in the door properties in the Level Editor right?

EDIT: It only takes one error in the lang file for the whole lang file to get broken. If the lang file is broken, NO error messages WILL APPEAR. You can't see your description IF you had one.

yea i did thatt. ohhh i think i put the void DoorLocked thing in the wrong place. ill omve that to OnStart and see if it works.
welllll it didn't work
(This post was last modified: 12-23-2013, 01:37 AM by MrJackrabbit.)
12-23-2013, 01:31 AM
Find


Messages In This Thread
help script stuff sorta - by MrJackrabbit - 12-22-2013, 09:19 PM
RE: help script stuff sorta - by Kullin - 12-22-2013, 11:30 PM
RE: help script stuff sorta - by MrJackrabbit - 12-23-2013, 12:01 AM
RE: help script stuff sorta - by Kullin - 12-23-2013, 12:11 AM
RE: help script stuff sorta - by MrJackrabbit - 12-23-2013, 12:21 AM
RE: help script stuff sorta - by Kullin - 12-23-2013, 12:49 AM
RE: help script stuff sorta - by MrJackrabbit - 12-23-2013, 01:21 AM
RE: help script stuff sorta - by PutraenusAlivius - 12-23-2013, 01:28 AM
RE: help script stuff sorta - by MrJackrabbit - 12-23-2013, 01:31 AM
RE: help script stuff sorta - by Romulator - 12-23-2013, 01:57 AM
RE: help script stuff sorta - by PutraenusAlivius - 12-23-2013, 02:10 AM
RE: help script stuff sorta - by MrJackrabbit - 12-23-2013, 02:59 AM
RE: help script stuff sorta - by PutraenusAlivius - 12-23-2013, 03:37 AM
RE: help script stuff sorta - by MrJackrabbit - 12-23-2013, 04:00 AM
RE: help script stuff sorta - by PutraenusAlivius - 12-23-2013, 04:15 AM
RE: help script stuff sorta - by MrJackrabbit - 12-23-2013, 04:56 AM
RE: help script stuff sorta - by PutraenusAlivius - 12-23-2013, 05:56 AM



Users browsing this thread: 1 Guest(s)