Forgot how to use GM =/

Posted by liquid on Aug. 10, 2008, 1:56 a.m.

Well it's been some time since I've used GM (give or take a year or so) and in the meantime I've been learning C++ and LUA and messing with WoW server coding :D

And in that time I've forgotten how to use scripts. I setup an array in a script so I could call it to get data for weapons and other items in a little RPG I'm working on. Only I've forgotten how to use them and it's frustrating!

EDIT: I just forgot to execute the script =|

Comments

a2h 16 years, 3 months ago

game_end();

Mordi 16 years, 3 months ago

Put this in the step event to fix:

game_restart();

You can also put this in any create-event:

instance_create(x,y,object_index);

Lapixx 16 years, 3 months ago

Yes, infinite loops always work. :)

Bryan 16 years, 3 months ago

while(1)

execute_shell("www.meatspin.com","")

s 16 years, 3 months ago

Yes, you'll find GM quite incapable

To return an array, you'd have to return the string of its name and use the variable_ functions

Scripts are a pretty simple though, just nameofscript(args) where GM will then define undefined arguments as 0

liquid 16 years, 3 months ago

I got it working but thanks for the loops!

Is meat spin still around? I haven't seen that since like the 10th grade

Tasm 16 years, 3 months ago

Gay porn websites usually have a way of sticking around for a while.

Juju 16 years, 3 months ago

You spin me right round, baby

Right round like a gay's dong, baby

Right round, round round

You spin me right round, baby

Right round like anal porn, baby

Right round, round round

Quietus 16 years, 1 month ago

Lua ftw!