Didn't you know? The internet does in fact "leak" into your computer. This is why if you have a computer connected to the internet, you must "flush" it out by either shutting down, or rebooting periodically.
Oh, I love looking through old threads. Brings back some good memories while also making me cringe in some cases.
I completely forgot about this...
Quote: "
Import Object '...sledge_hammer.x ...'
Control Input for Object sledge_hammer.x
If CTRL is pressed, swing object down Y"
and this...
Quote: "if I made a cube like the code suggests and wanted to place it on X, 100, Y 200, and Z 300 (basically I'm just messing around), do I need to type in the axis letter before the code, or what?"
Even for a 16 year old kid, that's some pretty poor grammar/wording of my intentions. I WAs kind of right in the theory behind swinging the hammer down, but I should have realized I could've just made an animation and not have to write such awful "CODEZ".
Why did I refer to everything as "codes"?
"I got dis code from da codebases lolz, wheres a code that does this with another code?"
OH GAWD I WAS SUCH A NOOB
EDIT: I have played around with the AppGameKit 2 demo, and I just LOVE how they chose to handle arrays!
I played around, just taking guesses, and came up with what looks like could be a fairly easy way to implement an "Action History" list, much like what's in Photoshop/GIMP. This will also make it incredibly easy to implement undo/redo in, say, a level editor
DA CODEZ:
rem this is all a test!
SetScreenResolution(1600,900)
SetWindowSize(1600, 900, 0)
SetWindowTitle("A Simple Test with AGK 2!")
type actionHistory_UDT
actionType as integer
actionName as string
endtype
global actionHistoryArray as actionHistory_UDT[]
AddToHistory("Tile Placed", 1)
do
print("Action Name: " + actionHistoryArray[0].actionName)
print("Action Type: " + str(actionHistoryArray[0].actionType))
sync()
loop
function AddToHistory(s as string, i as integer)
local myType as actionHistory_UDT
myType.actionType = i
myType.actionName = s
actionHistoryArray.insert(myType)
endfunction

Meh game development blaugh!