How to input BLANK in expression? Thx

zellhuangzellhuang Member, PRO Posts: 79
edited January 2012 in Working with GS (Mac)
hello,everyone. thank u for check my problem :)

I don't know how to input a BLANK in the expression.I wanna congstrain an actor's image. the image's name is "TypeID 1","TypeID 2","TypeID 3" and so on.So I need to constrain the actor's image to "TypeID".."BLANK".."No.Attribute"..".png"(e.g. if its image is TypeID 3,I should make this expression like "TypeID".."BLANK".."3"..".png"),dose anybody know how to express the BLANK.

Thank u in advance :)

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited January 2012
    Hello, you could try: "TypeID".." 3"..".png" (i.e putting the blank with the number) or change the image names to typeID1, TypeID2, etc., so you don't have to worry about the space/blank.

    Edit: TSB beat me to it. :-)
    ----------------------------------------------
    http://davidgriffinapps.co.uk/

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • zellhuangzellhuang Member, PRO Posts: 79
    oh~~the problem is I can't change the image names~~cauz there r too many of them need to be changed and plus,I also need to change every actor's image,that would be terrible work :(
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    edited January 2012
    Hi zellhuang, then try my first suggestion, see if that works... :

    example: "TypeID".." 3"..".png" (i.e putting the space with the number)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • zellhuangzellhuang Member, PRO Posts: 79
    Problem solved! thanks for both of u guys :)
    if anyone else have this problem,try the method below, it do work:)

    make a game attribute (text)
    in the attribute click it and rather then type something just hit the space bar

    then use that for your space.

    cheers
Sign In or Register to comment.