BG2EE V2.0 issue with CLUA commands
TyrReborn
Member Posts: 11
I'm having some trouble after the update to 2.0. Whereas before I could type in, say, CLUAConsole:CreateItem("whatever"), now it comes back with an error telling me
[string "CLUAConsole:CreateItem("whatever")"]:1: error in function 'CreateItem',
argument #1 is 'Class CLUAConsole','CLUAConsole' expected.
No idea what this means, so if anyone could shed some light on the problem, I'd really appreciate it.
[string "CLUAConsole:CreateItem("whatever")"]:1: error in function 'CreateItem',
argument #1 is 'Class CLUAConsole','CLUAConsole' expected.
No idea what this means, so if anyone could shed some light on the problem, I'd really appreciate it.
0
Comments
There's no error message but nothing happens...
The code simply doesn't work...
I just wanted to add a little bit of XP to my character because my current quest is quite difficult but I can't seem to make the code work...
The same thing goes for creating items...
Help please ?
You can, of course, still manually enter commands at the bottom (make sure to hit enter, and it doesn't always work with the numpad enter key, at least not on my computer).
Here's some example commands:
C:SetCurrentXP("100000") - will set the currently selected character to the specified XP value, in this example case 100,000 XP (note this is SET TO, not ADD; any number works, of course).
C:CreateItem("HAMM09") - will create the item specified by the item code, in this example case Crom Faeyr. Every item in the game has its own item code you'll need to look up.
C:CreateCreature("NEEBER") - will spawn the creature specified by the creature code, in this example case Neeber. Like with items, every creature and NPC in the game has its own creature code you'll need to look up.
Make sure to follow the syntax, including brackets and quotation marks where indicated.
If you want more information, check out the thread about game customization which has a lot of additional helpful info.