Jump to content


Photo

outside of code and arguments.


  • Please log in to reply
2 replies to this topic

#1 Rholad

Rholad

    GMC Member

  • GMC Member
  • 61 posts

Posted 15 September 2012 - 12:15 AM

I have two more quick questions. Is there any possible way to create a piece of code, mainly an if then statement then leave it off after "then" or the "{" so that you can fill D&D in there then close it with a bracket or block. If not, is there a way to execute an argument. For example: if spritecase(var)=sprite_index then{(in some form an action here will execute the next argument), argument0} Now that is a little confusing, lets sum it up here. My extension contains the D&D for: if sprite=. If the sprite equals true then the argument which in this case you pick a script that will execute. How can i do this if it can't be to specific in order to fit in my extension. Please tell me if I still need to clarify.
  • 0

#2 TheouAegis

TheouAegis

    GMC Member

  • GMC Member
  • 4755 posts
  • Version:GM8

Posted 15 September 2012 - 12:21 AM

Check Variable or Check Expression

Either of those will allow you to create an open set of code for sure. Check Expression will probably be the one you want, since anything you type after that "if" is one expression.
  • 0

#3 2dblox

2dblox

    GMC Member

  • GMC Member
  • 79 posts
  • Version:GM8.1

Posted 15 September 2012 - 04:19 AM

Just like 'TheouAegis' said,


use check variable and check expression.
for example in check variable if you put: image_angle, it will be the same as "if (image_angle.......) in code.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users