Syntax for define????

Non-platform specific questions.

Syntax for define????

Postby poopbrigade » Sun Oct 24, 2010 10:42 am

What is the Syntax for define???? :mrgreen: :oops: :mrgreen:
thanx in advance XD....
When life gives you oranges, make orange juice. When life gives you poop, make fertilizer not poop juice.

Image
Current project __ CorPsEdEaRtH
Estimated work done __ 12%
User avatar
poopbrigade
 
Posts: 129
Joined: Thu Aug 27, 2009 12:17 pm
Location: In Earth. Being Burried XD
Score: 46 Give a positive score

Re: Syntax for define????

Postby Camper1995 » Sun Oct 24, 2010 11:05 am

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 ;)
===========================
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score

Re: Syntax for define????

Postby poopbrigade » Mon Oct 25, 2010 8:50 am

XD thanx I had asked for the syntax of define a while ago in Chat and kinda forgot it..... :mrgreen:
+1
When life gives you oranges, make orange juice. When life gives you poop, make fertilizer not poop juice.

Image
Current project __ CorPsEdEaRtH
Estimated work done __ 12%
User avatar
poopbrigade
 
Posts: 129
Joined: Thu Aug 27, 2009 12:17 pm
Location: In Earth. Being Burried XD
Score: 46 Give a positive score

Re: Syntax for define????

Postby Camper1995 » Thu Oct 28, 2010 9:33 am

No problem :)
Thanks for the point xD
Say hello to my little friend.
User avatar
Camper1995
 
Posts: 707
Joined: Tue Dec 30, 2008 7:20 pm
Location: Lost in the past.
Score: 44 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest