than you add a check to the flash light option:
if: player has flashlight
and the code above
end
this prevent the player using the flashlight if they dont have it 🙂
And with my method, you'd set a condition on the two parallel events for either a switch to be on (and turn on the switch at the end of the treasure chest event), or simply set the condition to whether the player has the flashlight item. (In case anyone out there wants to use my method instead.)
to to flashlight switch like:
if player has flashlight (this checks the inventory)
If: script: Flashlight Switch = OFF
flash light is ON
Plugin command Flashlight ON
else
Flashlight is OFF
plugin command flashlight OFF
end
end
this way, its checks everything in 1 time within the conditional branch.
the way you did now =
check 1: check if player has flashlight, turn on switch
check 2: check if switch is on
check 3: check if switch is off
which are 3 conditionals, where mine just check the conditional inside
the 1 to see if its on else its off.
I had it included 🙂 so you might missreaded it, but it looks good.
it should work, while you check if its ON, I did it OFF, but it should
do the same way.
if it works, than your mostly good to go 🙂
plugin command = from the plugin you use,
conditional branch => items => flashlight (check item in inventory)
conditional branch => switch light => off
switch light = ON
plugin command flashlight on (from this plugin)
else
switch light = OFF
plugin command flashlight off (from this plugin
end
end
there reason I start with off, is that the status of the switch = off from the start,
you can use ON but this has basicly the same result, depending the setup.
while switches starts being OFF, its a nice idea to start with it.
it might be a bit confusing how I wrote it, so my appoligies for that.
I don't know if it had been asked before, but what are the proper Credits for this Plug-In?
Or is it good enough to redirect directly to this page?
Thanks for this awesome plugin! However, trying to use this with the newly released ARPG plugin doesn't work (almost none of my other plugins work with it, including the lifesaver zoom-in plugin for 32px tilesets, ugh).
Would there be any way to make it compatible or is it just plain impossible? The lighting makes a huge difference in my game and I'd hate having to edit the maps manually with parallax, lol. Seems like the problem is caused by this plugin and the ARPG both using the notetags or something.
Any help is greatly appreciated!
Edit: Okay, I got it to work somehow. If any problems arise I'll update here. (Off-topic but for anyone interested, the zoom-in still doesn't work, since the attack event needs to grab info from the map and it conflicts. The only viable way is to do a manual tileset change with a plugin)
Really cool plugin, just a quick question...
How do I make a certain map full black, except for the flashlight or aura around you?
I know how to make the time change so it slowly gets dark over time, but I'm trying to make a cave that's pitch black, except for the flashlight.
Like pokemon caves.
Any help would be awesome.
TIA
--- edit
Nvm I managed to do what I wanted using this plugin and the Fog Of War plugin by Pheonix KageDesu