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
Configuration Files Help Custom Main Menu Not Working
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#31
RE: Custom Main Menu Not Working

(08-15-2015, 02:14 AM)GameEnthusiast Wrote:
(08-15-2015, 12:29 AM)Mugbill Wrote: SetLightVisible ? Is that what you're after? Or perhaps FadeLightTo ?

nope. i mean there was a feature in mfp where if you HAD the LANTERN, in another map, if there was a lantern in the ENVIRONMENT, it would still be set unactive. so you wouldnt pick up another lantern.

Oh, that would be using a conditional. You can do it one of two ways, by checking if the player has the lantern, or by using a global variable. For the sake of simplicity, you should just check if the player has the lantern.

You would put it in OnEnter();, since you would want to check this each time you enter the map.

PHP Code: (Select All)
if(HasItem("lantern") == true)
{
    
// SetEntityActive("lantern_1", false);


Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 08-15-2015, 04:11 AM by Romulator.)
08-15-2015, 04:10 AM
Find


Messages In This Thread
Custom Main Menu Not Working - by Nocturnal - 08-11-2015, 12:32 AM
RE: Custom Main Menu Not Working - by Daemian - 08-11-2015, 02:03 AM
RE: Custom Main Menu Not Working - by Nocturnal - 08-11-2015, 05:49 PM
RE: Custom Main Menu Not Working - by Mudbill - 08-11-2015, 09:00 PM
RE: Custom Main Menu Not Working - by Nocturnal - 08-12-2015, 03:52 AM
RE: Custom Main Menu Not Working - by Nocturnal - 08-12-2015, 11:49 PM
RE: Custom Main Menu Not Working - by Mudbill - 08-13-2015, 12:03 AM
RE: Custom Main Menu Not Working - by Nocturnal - 08-13-2015, 01:30 AM
RE: Custom Main Menu Not Working - by Nocturnal - 08-13-2015, 11:01 PM
RE: Custom Main Menu Not Working - by Daemian - 08-14-2015, 02:56 PM
RE: Custom Main Menu Not Working - by Daemian - 08-14-2015, 08:22 PM
RE: Custom Main Menu Not Working - by Daemian - 08-13-2015, 12:41 PM
RE: Custom Main Menu Not Working - by Mudbill - 08-13-2015, 11:41 PM
RE: Custom Main Menu Not Working - by Nocturnal - 08-14-2015, 03:42 AM
RE: Custom Main Menu Not Working - by Romulator - 08-14-2015, 03:51 AM
RE: Custom Main Menu Not Working - by Nocturnal - 08-14-2015, 03:55 AM
RE: Custom Main Menu Not Working - by Romulator - 08-14-2015, 04:08 AM
RE: Custom Main Menu Not Working - by Nocturnal - 08-14-2015, 04:41 AM
RE: Custom Main Menu Not Working - by Romulator - 08-14-2015, 05:12 AM
RE: Custom Main Menu Not Working - by Nocturnal - 08-14-2015, 09:38 PM
RE: Custom Main Menu Not Working - by Spelos - 08-14-2015, 09:36 PM
RE: Custom Main Menu Not Working - by Spelos - 08-14-2015, 09:50 PM
RE: Custom Main Menu Not Working - by Nocturnal - 08-15-2015, 12:07 AM
RE: Custom Main Menu Not Working - by Mudbill - 08-15-2015, 12:29 AM
RE: Custom Main Menu Not Working - by Nocturnal - 08-15-2015, 02:14 AM
RE: Custom Main Menu Not Working - by Romulator - 08-15-2015, 04:10 AM
RE: Custom Main Menu Not Working - by Nocturnal - 08-15-2015, 10:32 PM
RE: Custom Main Menu Not Working - by Mudbill - 08-15-2015, 11:33 PM
RE: Custom Main Menu Not Working - by Nocturnal - 08-16-2015, 08:54 AM
RE: Custom Main Menu Not Working - by Nocturnal - 08-17-2015, 06:18 AM
RE: Custom Main Menu Not Working - by Romulator - 08-17-2015, 11:35 AM
RE: Custom Main Menu Not Working - by Nocturnal - 08-17-2015, 09:46 PM
RE: Custom Main Menu Not Working - by Slanderous - 08-17-2015, 10:46 PM
RE: Custom Main Menu Not Working - by Nocturnal - 08-17-2015, 11:13 PM
RE: Custom Main Menu Not Working - by Slanderous - 08-18-2015, 01:12 AM
RE: Custom Main Menu Not Working - by Nocturnal - 08-18-2015, 02:08 AM



Users browsing this thread: 1 Guest(s)