script editor names

Ideas for Game Editor evolution.

script editor names

Postby mrgame » Sun Dec 16, 2007 10:36 am

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
mrgame
 
Posts: 118
Joined: Sun Oct 21, 2007 8:09 pm
Location: my computer
Score: 3 Give a positive score

Re: script editor names

Postby Kalladdolf » Sun Dec 16, 2007 12:37 pm

(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 :)
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: script editor names

Postby lilkid » Wed Feb 27, 2008 2:59 am

good idea, im not really experienced in g-e but that annoys me too
SAVE THE TREES AND RECYCLE!!! YEAH!!!!
lilkid
 
Posts: 19
Joined: Mon Feb 25, 2008 4:57 pm
Location: unknown...
Score: 11 Give a positive score

Re: script editor names

Postby Fuzzy » Wed Feb 27, 2008 3:10 am

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.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest