Help Please saving actors

samnextsamsamnextsam Member Posts: 33
edited November -1 in Working with GS (Mac)
Hi
I am trying to create two save block's but it dose not work.
It save's but it save's on file in the two block's..

My code is like this :
I have two actors that are movable.
One of the is (ix and iy) the other one is (ix1 and iy1)
I have made two rules on each character in this rule i have change atribute to.
Rule (loadis)
Rule1 (loadis1)

Then i made two load buttons.
load (loadis)
load1(loadis1)

now the problem is. ihave two save buttons.
They have the same save attributes..
How can i put in (loadis) in one of the save buttons so it nows when i click on load so it open the correct save file.

save it loads from loadis
save 2 it load form loaids1
help me pleas i have struggle whit this fore two days now..
best regard's Sam

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi Sam; please try to make your thread titles a bit more descriptive in future. "Help Please" is not good enough. I've changed it again.

    As to your problem: check that all the save/load keys are different.

    A tip: if your game starts to become complex, attribute names you've given, like ix and iy, will start to get confusing for you, especially if you name all other attributes in a similar single letter way. It's good practice to name all attributes/actors/sounds, etc to meaninglful words, i.e in this case, BlockA X, BlockA Y, BlockB X, BlockB Y.

    :-)

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

  • samnextsamsamnextsam Member Posts: 33
    hi thank's for the tips.
    I will remember that.. :)

    The only different i have in the load attribute one of them are loadis and loadis1..

    The rest is the same.. so it can find the actor position..
    but on the save i don't have any different actors i need to now how can i writ how it can now if it is a loadis ore loadis1..

    Best regard's
    sam
Sign In or Register to comment.