SC2Mapster Forums

Development > Galaxy Scripting

Custom Script to edit data?

  • 3 posts
    #1 Nov 21, 2012 at 16:32 UTC - 0 likes

    I know this is not ecactly Galaxy Scripting, but it's still custom script with trigger.ยจ

    I once saw a way to edit data (like increasing damage done by an effect) with a trigger using custom script.

    Do anyone know the script to do this? I asume it's something like set Data(DATATYPE,NAME,FIELD,VALUE);

    (I would asume you could just set each of the DATATYPE, NAME; FIELD and VALUE to a variable for the ease of it)

    EDIT: Solved it. Shouldnt have posted here.

    Last edited Nov 21, 2012 by Demtrod
    #2 Nov 23, 2012 at 17:04 UTC - 0 likes

    @Demtrod: Go

    Can you tell others how you did it?

    #3 Nov 28, 2012 at 11:13 UTC - 0 likes

    Well, yeah - might've expressed myself wrong. I should not have posted here, because it turned out I did not solve it with a custom script at all (And had more with triggers than galaxy scripting to do).

    I used the Catalog Field Value Set action. With that you can change the data for a specific player, so for instance increase the damage of an effect only for player 1.

  • 3 posts

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