SC2Mapster Forums

Development > Triggers

Custom Script to edit data?

  • 6 posts
    #1 Nov 21, 2012 at 16:30 UTC - 0 likes

    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)

    Last edited Nov 21, 2012 by Demtrod
    #2 Nov 21, 2012 at 16:34 UTC - 1 like

    @Demtrod: Go

    You're thinking of Catalog Field Value Set.

    Bomberman for SC2!

    Please support this minigame project by contributing a minigame.

    Status: floating aimlessly beneath the clouds

    #3 Nov 21, 2012 at 16:38 UTC - 0 likes

    @DuckyTheDuck: Go

    Oh, didnt know of this :) I guess the Catalog is the data type, the Entry the name of the data and the Field Path the field? :)

    #4 Nov 21, 2012 at 16:42 UTC - 1 like

    @Demtrod: Go

    Just go to triggers and select catalog section. There you'll get that action, all fields are already defined there for you, so it's pretty self-explanatory (for catalog value switch to presets, all other choices should auto-adjust after you've picked that one).

    #5 Nov 21, 2012 at 16:48 UTC - 0 likes

    @DuckyTheDuck: Go

    Oh, okay, thank you - stupid of me :)

    #6 Nov 21, 2012 at 16:51 UTC - 1 like

    @Demtrod: Go

    It's okay, gl on your project.

  • 6 posts

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