Skip to content

How to set new Global variable in DLTCEP?

gattberserkgattberserk Member Posts: 191
edited March 2017 in BG:EE Mods
I tried to create and set a new global variable but it doesnt seem to work when I tried them under dialogue files

Any idea?

For eg this is one of the global variable inside:

SetGlobal("bd_205_forge_carapace","global",1)


I try to add a new variable:

SetGlobal("bd_205_forge_combatsh","global",1)



But it doesnt seem to work? The dialogue cannot progress when the condition which requires:

Global("bd_205_forge_combatsh","global",1)

doesnt trigger.

Comments

  • GrammarsaladGrammarsalad Member Posts: 2,582
    edited March 2017
    ...Maybe it's one of your other triggers?

    I always capitalize the "global" denoting variable type. i.e.

    Global("bd_205_forge_combatsh","GLOBAL",1)

    as all the examples I've seen do so. I vaguely remember reading somewhere that capitalization can be important, though i don't remember the context.

    ...Maybe your variable name it too long?

    Edit: it might help to see the whole block
Sign In or Register to comment.