Here's the code I'm using to load a lightcap file (it exists within a button which is not included):
[FileNameSetNext,"path_to_my_lightcap_file\lightcapFile.ZLD"][IPress,Light:LightCap:Open]
When I push my button it doesn't throw an error but the lightcap doesn't get loaded either. So I push the button again and the lightcap loads up without a problem.
Why isn't the lightcap loading the first time I push the button? How do I fix this?
Thanks.