![]() |
![]() ![]() ![]() ![]() ![]()
|
Author | Topic: Help with something |
Newbie |
![]() well im trying to make it if you can have cash wheni tell it to decrease it i put dollar:-5 did i do this wrong? |
Luridii |
![]() If your using Quest 3 then providing you have the dollar status variable set up then you do set numeric <dollar; %dollar% - 5> that help? |
Newbie |
![]() What status Variable? |
Computer Whizz |
![]() Right.... First off make sure that the "asl version" is 284 or 285! Then, in the define game block then put this: define variable <dollar> Now that should set up the status variable. They are just like collectables, but they can be set to do procedures when they change and can be handled just like normal variables! Computer |
Newbie |
![]() Okay i donno where this define block is and i donno how to check my version |
Computer Whizz |
![]() Well, how did you put in "set <dollar; -5>" then? To do this you should have some understanding of the language!? Anyway, the define game block is what an area is called. This area is the text inbetween the "define game <game>" and "end define". Now this determines special parts of the game, eg. You can find a useful document here: This has encouraged me to venture into raw ASL programming and has gotton me into frequent trouble Computer |
carlii |
![]() You guys are all freaks! I know the solution to your problem. You are trying to supply him with advice that he doesn't understand. He's a newbie for crying out loud (his bloody nickname is that!!) Well if you make a money go down -5 well then you're shooting yourself in the foot. You should instead say go down 5 NOT -5 because you don't have say its negative because it already is. MATHEMATICALLY: go down -5 |
Newbie |
![]() Okay ive tried everything you guys say i start my game but it still doesnt lower it :( |
Computer Whizz |
![]() You have to set a "trigger". If you use QDK then go into the game/global settings (a globe picture should be in the main window.... click it!). Go into the global settings there and it should allow you to set "custom commands". In here set a command "buy #item#" (without the quote marks.). In the code put: Computer |