Page 1 of 1

Syntax for define????

PostPosted: Sun Oct 24, 2010 10:42 am
by poopbrigade
What is the Syntax for define???? :mrgreen: :oops: :mrgreen:
thanx in advance XD....

Re: Syntax for define????

PostPosted: Sun Oct 24, 2010 11:05 am
by Camper1995
Well, for define... you mean in Global code?

Okey, if that, you can write it like this:

Code: Select all
#define move MoveTo("Event Actor", 0.000000, 0.000000, 10.000000, "view", "");


Where #define is just the "word"
move is a word that you can write it anywhere in script editr. So for example you will write:
move;

and your character will go to view with speed 10 (it's in the code upthere)

and MoveTo is action... okey.

How to write it?
___________________________________________________________________
first open global code, write #define "type here whatever you want to call that function" "Put action here"(for example MoveTo or CreateActor.. anything else)
____________________________________________________________________________________________________________________________________________________
okey, if you don't understand anything, jsut ask me.

I hope this helps.
===========================
Camper ;)
===========================

Re: Syntax for define????

PostPosted: Mon Oct 25, 2010 8:50 am
by poopbrigade
XD thanx I had asked for the syntax of define a while ago in Chat and kinda forgot it..... :mrgreen:
+1

Re: Syntax for define????

PostPosted: Thu Oct 28, 2010 9:33 am
by Camper1995
No problem :)
Thanks for the point xD