Jump to content


Photo

D&d Actions And Their Code Equivalents


  • This topic is locked This topic is locked
147 replies to this topic

#61 Dangerous_Dave

Dangerous_Dave

    GMC Member

  • Global Moderators
  • 9278 posts
  • Version:Unknown

Posted 31 July 2008 - 09:04 AM

Not true, Not is a name for !, basically, Not checks to see if the variable is equal to the value if it isnt (doesnt matter what it is) then the following code will execute.

I like you, you're funny :P

! is also the logical negator.

Read this. Halfway down the page you will find the example using !, but you should read the whole thing. Go on, I dare you :D
  • 0

#62 Recreate

Recreate

    Furry

  • GMC Member
  • 2928 posts
  • Version:GM8

Posted 31 July 2008 - 09:11 PM

d&d Contains gml ...Right?
  • 0

#63 Southman

Southman

    I simply am not here

  • GMC Member
  • 1662 posts
  • Version:GM:Studio

Posted 11 August 2008 - 09:43 PM

d&d Contains gml ...Right?

what else would it be? C++?
  • 0

#64 3dman101

3dman101

    GMC Member

  • GMC Member
  • 438 posts

Posted 20 August 2008 - 05:54 PM

WOW, thanx! this will really help me as well as my other clueless friends!
  • 0

#65 Nelson

Nelson

    GMC Member

  • New Member
  • 508 posts

Posted 23 August 2008 - 10:27 PM

d&d Contains gml ...Right?



D&D is the action codes that isn't in the help file. So to find GML code in the help file will not be the same coding as the coding the D&D Icons use.

GML in the help file can be longer at times than the D&D Icons so my argument us always to try to experiment with the Action codes as well cause some are actually shorter than the Codes found in the help file.
  • 0

#66 Dangerous_Dave

Dangerous_Dave

    GMC Member

  • Global Moderators
  • 9278 posts
  • Version:Unknown

Posted 24 August 2008 - 05:59 AM

GML in the help file can be longer at times than the D&D Icons so my argument us always to try to experiment with the Action codes as well cause some are actually shorter than the Codes found in the help file.

Thats like saying we should use this code:
set_variables();

Instead of this:

x=1;
y=2;
z=3;
a=4;
b=5;
c=6;

When set_variables is the name of a script with this in it:
x=1;
y=2;
z=3;
a=4;
b=5;
c=6;

Either way works, and none is better than the other, besides saving a few bytes of code.
  • 0

#67 Nelson

Nelson

    GMC Member

  • New Member
  • 508 posts

Posted 24 August 2008 - 07:32 PM

GML in the help file can be longer at times than the D&D Icons so my argument us always to try to experiment with the Action codes as well cause some are actually shorter than the Codes found in the help file.

Thats like saying we should use this code:
set_variables();

Instead of this:

x=1;
y=2;
z=3;
a=4;
b=5;
c=6;

When set_variables is the name of a script with this in it:
x=1;
y=2;
z=3;
a=4;
b=5;
c=6;

Either way works, and none is better than the other, besides saving a few bytes of code.



Like I said some D&D are shorter. Some Gml codes in the help file can be shorter but most the time the D&D is just one line of coding
  • 0

#68 Diptoman

Diptoman

    GMC Member

  • GMC Member
  • 1743 posts
  • Version:GM8

Posted 13 September 2008 - 11:29 AM

But it actually takes MORE time to drag an icon every time than having the 'Insert code' action open and typing in it.
However, I think D&D is better in resource handling. Resource conflicts don't occur in D&D.

Edited by dmsuper, 13 September 2008 - 05:20 PM.

  • 0

#69 Southman

Southman

    I simply am not here

  • GMC Member
  • 1662 posts
  • Version:GM:Studio

Posted 13 September 2008 - 12:44 PM

I rarely use D&D, but if I do it is this :D
  • 0

#70 Diptoman

Diptoman

    GMC Member

  • GMC Member
  • 1743 posts
  • Version:GM8

Posted 13 September 2008 - 05:21 PM

I rarely use D&D, but if I do it is this :)

Haha, why? Don't know the GML equivalent!?
  • 0

#71 Dangerous_Dave

Dangerous_Dave

    GMC Member

  • Global Moderators
  • 9278 posts
  • Version:Unknown

Posted 14 September 2008 - 01:54 AM

However, I think D&D is better in resource handling. Resource conflicts don't occur in D&D.

When I first read that, it sounded like you thought D&D handled system resources better... but I get you now.

The resource conflicts don't occur in D&D because D&D uses id's to refer to everything, while in code we use constants with these variables to make it easier to know what we are talking about.
  • 0

#72 xtreme0ninja

xtreme0ninja

    The Xtreme

  • New Member
  • 684 posts

Posted 14 September 2008 - 03:13 PM

this is the most superly usefull thing on earth lol, tyvm

~xtreme0 :)
  • 0

#73 Southman

Southman

    I simply am not here

  • GMC Member
  • 1662 posts
  • Version:GM:Studio

Posted 14 September 2008 - 11:15 PM

I rarely use D&D, but if I do it is this :snitch:

Haha, why? Don't know the GML equivalent!?

ha aha haaa funny :)
  • 0

#74 Nelson

Nelson

    GMC Member

  • New Member
  • 508 posts

Posted 17 September 2008 - 02:27 AM

I rarely use D&D, but if I do it is this :)

Haha, why? Don't know the GML equivalent!?

ha aha haaa funny :)



Not really funny cause this although is very helpful to some people isn't GML equivalent.

It is more of a translation to D&D to GML.
  • 0

#75 iluvfuz

iluvfuz

    GMC Member

  • GMC Member
  • 1452 posts
  • Version:GM:Studio

Posted 12 October 2008 - 06:42 PM

Be sure to check GML Buddy out for quick translations; also, 3D commands are in progress, but I need your help to provide ideas for the attribute:
GML Buddy
  • 0

#76 Tayrawr

Tayrawr

    GMC Member

  • New Member
  • 7 posts

Posted 02 November 2008 - 08:45 AM

Thanks for this, helps me understand GML better, and is really nice to have, considering i'm new and have only made a few decent games.
  • 0

#77 icecream841

icecream841

    GMC Member

  • New Member
  • 230 posts

Posted 11 November 2008 - 03:50 PM

this is the greatest every tim i use it i learn more and become better

thx
  • 0

#78 Scippi

Scippi

    GMC Member

  • New Member
  • 33 posts

Posted 18 November 2008 - 09:22 PM

This is brilliant, thanks blackrat ;)
  • 0

#79 Jaboi

Jaboi

    GMC Member

  • New Member
  • 174 posts

Posted 21 November 2008 - 05:42 AM

This will be incredibly helpful. Awesome tutorial man.
  • 0

#80 erthgy

erthgy

    GMC Member

  • New Member
  • 1718 posts

Posted 23 December 2008 - 09:18 PM

This is an interestingly handy little notebook for programming purposes (especially if you can't find your answers in the help file). Just thought I'd add that in. Good job Ablach Blackrat.
  • 0




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users