Potion for changing global variables
extremeragnarok
Member Posts: 23
The inspiration for this was the very long and drawn out Jaheira romance. I figured if i could make an item that could change the local lovetalk variable and the global romance variables, it would make it more feasible, as I tend to fly through the game. I found the Set Global Variable effect in Near Infinity, but I can't figure out how to choose the variable to change. Any pointers?
Btw, I call it Love Potion No. 9.
Btw, I call it Love Potion No. 9.
0
Comments
For Locals, it is a bit more complex, because you must created a new eff file for every Local you want to change, using opcode 187 template.
The variable name is then split among the 3 resource fields of the EFF file, 8 characters at a time.
Resource = JAHEIRAR
Resource2 = OMANCE
Resource3 =
If you'd like an example for how the EFF should be, look at TUTOR1.EFF.