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
Unexplainable Error!
Verkehr Offline
Member

Posts: 60
Threads: 13
Joined: Oct 2016
Reputation: 1
#13
RE: Unexplainable Error!

(11-17-2016, 09:46 PM)Mudbill Wrote:
PHP Code: (Select All)
void note_room_1_1(string &in asEntity)
{
    
AddGlobalVarInt("key_1"1);
    if(
GetGlobalVarInt("sanity_1") == 1){
        
AddGlobalVarInt("sanity_action_1"1);    
    }
    else{
        
AddGlobalVarInt("sanity_off_1"1);
    }
    
AddDebugMessage("key_1: " GetGlobalVarInt("key_1")
    + 
", sanity_action_1: " GetGlobalVarInt("sanity_action_1"
    + 
", sanity_off_1: " GetGlobalVarInt("sanity_off_1"), false);


Try this and see what the values actually are.

If you´re pointing on that I use the same technique on the 1st area, then I have to say you´re very smart. I doubt it will work at all, the area is glitched. :/ I will try to make it on INTERACT instead.

Finally, OnInteract fixed it!
(This post was last modified: 11-17-2016, 10:29 PM by Verkehr.)
11-17-2016, 10:11 PM
Find


Messages In This Thread
Unexplainable Error! - by Verkehr - 11-14-2016, 07:06 PM
RE: Unexplainable Error! - by Mudbill - 11-14-2016, 10:18 PM
RE: Unexplainable Error! - by Verkehr - 11-14-2016, 11:14 PM
RE: Unexplainable Error! - by Verkehr - 11-16-2016, 05:55 PM
RE: Unexplainable Error! - by Mudbill - 11-16-2016, 05:57 PM
RE: Unexplainable Error! - by Verkehr - 11-16-2016, 07:48 PM
RE: Unexplainable Error! - by Verkehr - 11-16-2016, 10:57 PM
RE: Unexplainable Error! - by Mudbill - 11-17-2016, 12:32 AM
RE: Unexplainable Error! - by Verkehr - 11-17-2016, 03:29 PM
RE: Unexplainable Error! - by FlawlessHappiness - 11-17-2016, 06:42 PM
RE: Unexplainable Error! - by Verkehr - 11-17-2016, 08:34 PM
RE: Unexplainable Error! - by Mudbill - 11-17-2016, 09:46 PM
RE: Unexplainable Error! - by Verkehr - 11-17-2016, 10:11 PM



Users browsing this thread: 1 Guest(s)