SC2Mapster Forums

Development > Triggers

WTF Does This Error Message Mean?

  • 4 posts
    #1 Nov 12, 2012 at 01:07 UTC - 0 likes
    "Scri: Trigger Error in 'gt_RaceSelection_Func': Could not get property from parameter in 'DialogControlGetPropertyAslnt' (value: 18)
         Near line 343 in gt_RaceSelection_Func() in MapScriptgalaxy"
    

    And it goes in that format with other things as well.

    What does it mean?

    TY in advance!

    #2 Nov 12, 2012 at 02:44 UTC - 0 likes

    You probably modified the parameters of an action definition without going through each used instance of that definition and making sure everything matched up. That's my best guess, anyway. SC2 was expecting a parameter value but got something invalid instead.

    My Projects:
    Malum Ruina: SC2Mapster
    Eternal Exile: SC2Mapster
    Spine Crawler Madness: SC2Mapster
    Xeno Crisis: SC2Mapster

    #3 Nov 12, 2012 at 05:45 UTC - 0 likes

    @MoDTassadar: Go

    It's hard to tell exactly without seeing the code itself- I would guess you made some type of custom action definition, and then modified something in that action that changed or messed up the parameters. Go to your race selection function, and check over your paramaters to check that they're all the right variable types. Also check your action properties (Make sure nothing is checked you don't need; I occasionally find things checked that I didn't mean to click). Then head to whatever trigger corresponds to line 343 (the debugger should show you the exact line), and make sure the parameters plugged in to the action are correct. If that's not the issue, look for any dialog function involved and make sure it has the correct parameters and should return the correct int.

    Last edited Nov 12, 2012 by zeldarules28
    Send me a PM with any questions or comments.

    Learn about HotS mods, publishing, and regions here

    #4 Nov 12, 2012 at 06:59 UTC - 0 likes

    'DialogControlGetPropertyAslnt'.

    I've seen stuff like this in my map. For me it meant an action related to dialogs was used incorrectly. Like the dialog/dialog-item I was referring to wasn't created before that action was run. Or I used Last Created Dialog inside an action definition when the dialog was created somewhere else.

    Current Project: SquadCraft 2
    Project Page
    Feedback Thread
    Latest Video
    Published Regions: SEA, NA, EU, KOR
    Status: Open Beta

  • 4 posts

You must login to post a comment. Don't have an account? Register to get one!