Skip to content

Can lua run scripts?

GrammarsaladGrammarsalad Member Posts: 2,582
edited April 2021 in UI Modding
Okay, I understand that Infinity_GetScriptVarInt(global) can display global variables (not sure how yet). It is possible for lua to run a standard (bcs) script (say) whenever the character record button is pushed (i.e. to set a global based on certain player stats that can then be displayed)

Edit: also, is there an IESDP like repository where these kinds of commands (e.g. Infinity_GetScriptVarInt(global)) are described??

Edit2: Come to think of it, shouldn't this stuff be included in the IESDP? Kind of an aside, but...

Comments

  • kjeronkjeron Member Posts: 2,367
    It can run actions just as the debug console can, but it cannot perform script triggers.
  • GrammarsaladGrammarsalad Member Posts: 2,582
    edited April 2021
    kjeron wrote: »
    It can run actions just as the debug console can, but it cannot perform script triggers.

    Ah so I could set the variable but I wouldn't be able to set it by character stats or internal variable. Ok thanks

    Edit: I've never used the console, but I think I get your meaning
  • _Luke__Luke_ Member, Mobile Tester Posts: 1,535
    Edit: also, is there an IESDP like repository where these kinds of commands (e.g. Infinity_GetScriptVarInt(global)) are described??

    What about this...?
Sign In or Register to comment.