Nocturnal
Member
Posts: 96
Threads: 14
Joined: Dec 2014
Reputation:
0
|
RE: Custom Main Menu Not Working
(08-15-2015, 04:10 AM)Romulator Wrote: (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.
if(HasItem("lantern") == true) { // SetEntityActive("lantern_1", false); }
Thanks! that would be very useful. thanks once again! you ALL are great. but still with the main menu, need help. also i would like there to be a fade in and out when you turn off the flashlight
(This post was last modified: 08-15-2015, 10:47 PM by Nocturnal.)
|
|
08-15-2015, 10:32 PM |
|