lemmy101
Emperor
- Joined
- Apr 10, 2006
- Messages
- 1,064
WHY OH WHY OH WHY does the Lua SDK reference have NO INFORMATION on what the bloody parameters are for a function????? therefore rendering them completely POINTLESS.
I've sat here for about five hours trying to bloody work out how to call ONE FUNCTION.
Player:Found
Given the functions around it, suggests to me this founds a city. How? What on God's Green Earth would I put as parameters to this function? Lua certainly doesn't tell me.
I've searched the net, apparently the way to figure out a function signature is to do debug.getinfo(function) but no, of course that functionality is disabled in the Civ 5 lua. Why all these road blocks? Would it be that hard to have given a list of functions with what bloody parameters they use? I'm starting to feel like they don't want us to mod anything and are purposefully withholding or breaking bits to stop us. Paranoid I know, but after all the stuff with nexus, munged dds files and now this... grrr.
Ridiculous.
I've sat here for about five hours trying to bloody work out how to call ONE FUNCTION.
Player:Found
Given the functions around it, suggests to me this founds a city. How? What on God's Green Earth would I put as parameters to this function? Lua certainly doesn't tell me.
I've searched the net, apparently the way to figure out a function signature is to do debug.getinfo(function) but no, of course that functionality is disabled in the Civ 5 lua. Why all these road blocks? Would it be that hard to have given a list of functions with what bloody parameters they use? I'm starting to feel like they don't want us to mod anything and are purposefully withholding or breaking bits to stop us. Paranoid I know, but after all the stuff with nexus, munged dds files and now this... grrr.
Ridiculous.