Page 1 of 1

script editor names

PostPosted: Sun Dec 16, 2007 10:36 am
by mrgame
i know in my games i use script editor alot. and when i need to edit one i have to do basicly trial and error to find the one im looking for.
prehaps we could name each script editor.
eg
a script editor with x=+5;
we could name movementleft
ect so i could actuly find wt scripts im looking for

Re: script editor names

PostPosted: Sun Dec 16, 2007 12:37 pm
by Kalladdolf
(1)
how you could reduce the number of scripts:
for each event, use only 1 script and NOTHING else.
You can have everything you want in ONE script per event.
(2)
how you could find the scripts then:
script.JPG

click on "script" and you'll find all your scripts there, listed nicely one by one and when you did it like (1), every script will have a different name.

hope this helped :)

Re: script editor names

PostPosted: Wed Feb 27, 2008 2:59 am
by lilkid
good idea, im not really experienced in g-e but that annoys me too

Re: script editor names

PostPosted: Wed Feb 27, 2008 3:10 am
by Fuzzy
You can do two things. Use global code and make a function to do it(not a good idea for a simple action like move left).

The other is to do a macro with #define.

#define MoveL x=-5
#define MoveR x=+5

and place that in global code. Note that movementleft and even MoveL are longer to type than x=+5. I wouldnt bother.

then in actor code you just type MoveR;

dont forget to put the ; in actor code and not global.