IronChancellor Posted August 6, 2015 Share Posted August 6, 2015 I copied this out of my script: let ModName := "Testing.esp" print "Variable==Hardcoded: " + $(ModName == "Testing.esp") print "Hardcoded: " + $(IsModLoaded "Testing.esp") print "Variable: " + $(IsModLoaded ModName) And ingame it writes out: Variable==Hardcoded: 1 Hardcoded: 1 Variable: 0I have no clue what i missed here, the wiki just says: (bool) IsModLoaded modName:stringThe same thing happens with GetModIndex.I can work around this by making each mod have a quest with the info in it and then using getVariable, but my current setup doesn't require any special forms to be made so I would prefer to make it work if possible. Link to comment Share on other sites More sharing options...
Fallout2AM Posted August 6, 2015 Share Posted August 6, 2015 Did you try ToString them? IsModLoaded $sMyStringVar Link to comment Share on other sites More sharing options...
IronChancellor Posted August 6, 2015 Author Share Posted August 6, 2015 Did you try ToString them? IsModLoaded $sMyStringVarYep that was the problem, thank you. Link to comment Share on other sites More sharing options...
Recommended Posts