Interactive lua console
Posted 12 March 2013 - 10:45 PM
Posted 12 March 2013 - 10:56 PM
Console buttons i have seen so far in many games due to different keyboard thingies:^+ (next to enter)ö (if german keyboard layout and stuff)and yeah, ~EDIT: If it's not one of them, please just smash buttons until you hit the right one. It's gotta be one of them.
I think there should be a list of commands - or how to find them at least lolAlso how do you bring up the console if pressing the ~ doesn't work?I tried ctrl+ , shift+ alt+ and alt gr + ~... It will not show... (I'm on a laptop - so obviously my keyboard sucks)
Edited by Palpetinus, 12 March 2013 - 10:59 PM.
No, I'm not a mod, my smartassing and huge post count is pure coincidence!
Posted 13 March 2013 - 02:28 AM
Edited by Indicativaz, 13 March 2013 - 08:13 AM.
Posted 13 March 2013 - 04:38 PM
( ͡° ͜ʖ ͡°)Unofficial Bacon Lord of the forum.( ͡° ͜ʖ ͡°)
Posted 13 March 2013 - 05:45 PM
Posted 14 March 2013 - 12:19 AM
Posted 14 March 2013 - 12:30 AM
Thanks for an awesome avatar to Raven Crow!
Posted 14 March 2013 - 05:00 AM
Posted 14 March 2013 - 05:28 AM
Posted 14 March 2013 - 07:26 AM
I wen't through the prefab file, it's 'nightsword'
Sooo the commandDebugSpawn("xxxxxx")works and spawns the designated item where ever your mouse is it can be a monster or a plant or even a dropped item.so far it works by spawning a single item i haven't tried multiple at once.The main issue i found is i have no idea how to spawn items that have a 2 word name. to spawn a flower i can simply writeDebugSpawn("flower")and it will spawn a flower on my mouse cursorbut for soemthing that has a 2 word name i dont know how to for example the dark sword does nto work with this ocommandiv triedDebugSpawn("Dark Sword")DebugSpawn("Dark_Sword")DebugSpawn("Dark.Sword")any ideas on hwo to make the command work with items with 2 names?
Edited by Indicativaz, 14 March 2013 - 08:18 AM.
Posted 14 March 2013 - 07:46 AM
Posted 14 March 2013 - 04:20 PM
May I ask what button worked for you, and what keyboard layout do you use? (or where are you from at least).
Edit: I got it - now I need the commands!
→ How to move with [Z][Q][S][D] (on an Azerty keyboard)
→ All you wanna know about multiplayer (but where too lazy to look for)
Posted 14 March 2013 - 04:53 PM
Posted 14 March 2013 - 06:42 PM
For multiple items, you can use a simple for loop
for x = 1, 10 do DebugSpawn("carrot") end
but you will need to pick up each one as this will not create a "stack" of the item. That would need more code than is comfortable to type into the console screen at the moment.