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
Teleporting naked guys
Mooserider Offline
Member

Posts: 64
Threads: 11
Joined: Jan 2011
Reputation: 2
#4
RE: Teleporting naked guys

PHP Code: (Select All)
void DoorLockedPlayer(string &in entity)

{
    if(
GetSwingDoorLocked("bedroomdoor1") == true)
    {
        
SetMessage("Messages""msgname"0);
    } 

It's nothing to do with the flying Jesus, you need another "}" on a new line after that. Should be:

PHP Code: (Select All)
void DoorLockedPlayer(string &in entity)

{
    if(
GetSwingDoorLocked("bedroomdoor1") == true)
    {
        
SetMessage("Messages""msgname"0);
    }



...Although I'd like to quietly suggest that you don't use teleporting naked guys, and instead use build-up and atmosphere. They're kinda infamous.
But hey, if you'd prefer to do that, go ahead.

Working on a FC: "Don't Let Go "
09-27-2012, 04:07 PM
Find


Messages In This Thread
Teleporting naked guys - by Storfigge - 09-27-2012, 02:00 PM
RE: Teleporting naked guys - by The chaser - 09-27-2012, 03:07 PM
RE: Teleporting naked guys - by Vic7im - 09-27-2012, 03:26 PM
RE: Teleporting naked guys - by Mooserider - 09-27-2012, 04:07 PM



Users browsing this thread: 1 Guest(s)