Quantcast
Channel: Recent Discussions — Beamdog Forums
Viewing all articles
Browse latest Browse all 105449

Who's up for some new LUA functions? [Alpha v0.1.1]

$
0
0
Edit: I've released a highly alpha version of this project. You can find it attached to this post. Documentation and post-overhaul pending. 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 105449


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>