Page 1 of 1

Problems with "adding actions"

PostPosted: Fri Dec 24, 2004 2:32 pm
by Melira
Problems with "Add action" and Script Editor

Hi, I can't execute any of the actions, e.g., when I click in Key dow, it says "Error" (and the same in the other actions of the list). What can I do? And one of the tutoriales about Script Editor doesn´t work.
Melira

PostPosted: Fri Dec 24, 2004 8:11 pm
by makslane
What's your operating system (Windows 95, XP...)
The error message just say "Error"?

Error in add action

PostPosted: Sat Dec 25, 2004 1:16 pm
by Melira
It's Windows 98 and the message that appears when I try to enter "key down", "add action", "script editor", is:
"Error. Please, press a key", and the same happens with other actions like "physical response" and others (or all the items) of the list.
One thing I'd like to konow is if you can program games for DOS. And another question is: ¿with this program is it possible to draw guns or things that can kill monsters and that kind of things? Thank you for your answers, you are so polite.

And...

PostPosted: Sat Dec 25, 2004 1:27 pm
by Melira
[b]And once I can run script editor, will there be any way to know the meaning of all that symbols and formulas in order to make actions? Because I see in this forum that users write things as:

for(loopCount=1; loopCount<1000; loopCount++)

{
x = rand(posX);
y = rand(posY);
setpen(rand(255),rand(255),rand(255),0,1);
moveto(x,y);
putpixel(x,y);
}

Where do they take those "difficult" formulas from?
I can't find a list or something like that in the help menu.
[/b]

Before...

PostPosted: Sat Dec 25, 2004 1:35 pm
by Melira
I should study something like "C language" before, shouldn't I?

Re: Error in add action

PostPosted: Sat Dec 25, 2004 1:56 pm
by makslane
Melira wrote:the message that appears when I try to enter "key down", "add action", "script editor", is:
"Error. Please, press a key"


When you use a Key Down or Key Up event, you must choice a key to fire the actions before choice any action.

Just, Select the Key Down event and hit the key will fire the actions.
After this, select your actions.


Melira wrote:with this program is it possible to draw guns or things that can kill monsters and that kind of things?



Sure, all monsters, players and any other things in your game are Actors.
For example, to kill a monster, just check collision with the killer actor and use "Destroy Actor" action.

Re: And...

PostPosted: Sat Dec 25, 2004 1:58 pm
by makslane
Melira wrote:And once I can run script editor, will there be any way to know the meaning of all that symbols and formulas in order to make actions?


All functions in Script Editor are listed in the doc:
http://www.game-editor.com/docs/script.htm

Re: Before...

PostPosted: Sat Dec 25, 2004 2:03 pm
by makslane
Melira wrote:I should study something like "C language" before, shouldn't I?


A very few knowledge will help.
In "Script Editor" hit the "web" button and follow the links on the page.

You will learn how use functions, loops, ifs....

Thanks for your help

PostPosted: Sun Dec 26, 2004 4:34 pm
by Melira
Muchas gracias makslane!!!! :P