Results 1 to 2 of 2

Thread: Script Question for Chuck

  1. #1
    Maximum Bitrate tn6478's Avatar
    Join Date
    Jun 2006
    Location
    Houston, TX
    Posts
    791

    Script Question for Chuck

    Ok Chuck I have the weather mod but I want to make a button for it on the Cstartmodule to click on it to open it. How would I do this instead of going to digital mods and clicking on it.

  2. #2
    Raw Wave god_of_cpu's Avatar
    Join Date
    Jan 2004
    Location
    SilverSpring Maryland
    Posts
    2,960
    Well you can make a new skin and place a button control in that skin and set the "Module To Show" property to the GUID of the script project followed by the name of the module you want to show i.e. {1FB0936A-FD23-4A41-86E3-61C3F3977B0F}\Main

    Alternatively, you could add a scripted overlay to the same script project, then restrict that overlay to only the CStartModule using the Overlay.AddModuleRestriction function in the OnCreate event of the overlay. Place a button on that overlay and again set its "Module To Show" property as mentioned above. This method would allow you to make a digitalmod that would work with any skin.
    StreetDeck.com Developer (I am Chuck)
    Get StreetDeck at http://www.streetdeck.com
    The Official StreetDeck Forums have moved, please visit us at http://www.streetdeck.com/forum for official support for Streetdeck.

Similar Threads

  1. Interesting Skin Question
    By Wiredwrx in forum Road Runner
    Replies: 21
    Last Post: 07-22-2006, 02:10 AM
  2. Replies: 2
    Last Post: 05-02-2006, 05:15 PM
  3. Forum Etiquette
    By Enforcer in forum Newbie
    Replies: 5
    Last Post: 01-09-2006, 05:58 PM
  4. Paint And Polish Question
    By gboy in forum Fabrication
    Replies: 8
    Last Post: 08-13-2005, 07:22 PM
  5. FM Card Question....
    By Superbike1k in forum Car Audio
    Replies: 1
    Last Post: 05-16-2005, 09:03 AM

Bookmarks

Posting Permissions

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