Quantcast
Channel: Modding — Beamdog Forums
Viewing all articles
Browse latest Browse all 11774

Who's up for some new LUA functions?

$
0
0
I have been working on creating some new LUA functions via hex editing for a mod I am currently working on, and it has been going very well so far. In case any of you are curious, here's the two new functions I've made so far: Infinity_GetPCIdentifier(slot) - Gets the ID of the character in the given portrait slot. Can be used to access the characters table or in the following command... Infinity_GetLocal(creatureID, local) - Returns the value of the given local variable on the creatureID. Can be used in conjunction with the previous command to get local values of PCs. Currently in the works: Infinity_SetLocal(creatureID, local, value) - Sets the value of the given local variable on the creatureID. To give you guys some proof, here's a screenshot: Here's my question to you all - What new commands would you like to see? New UI behaviors are beyond me, but externalizing any other behavior the engine exhibits is definitely a possibility. I.E. any internal fields you would like to have access to, any existing function behaviors you would like changed.

Viewing all articles
Browse latest Browse all 11774

Latest Images

Trending Articles



Latest Images