1. #1
    New Member
    User Gallery
    Join Date
    Mar 2012
    Location
    Salt Lake City, UT
    Posts
    18

    Default Question: Loading Lightcap file doesn't quite work

    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.

  2. #2
    Moderator User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    8,535

    Default

    I can't tell what might be going wrong from that code snippet.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •