Help needed for real.Random events and Picture Error Message

ramtha
19 Dec 2005, 08:43
First, Random events. Is there anyway to get an object to preform a random action. Anything, such as attacking the player or taking an object.
Second, Picture Error message. When I place a picture into the QDK Program, and then try to view it, I get the error message, Internal Error 75 path/file accsess error, then a run-time error 91 'object variable or with block variable not set'
I have no idea how to fix that. It is however my main problem at the moment. It would much appreciated for some help.

P.S. Please if you can, don't tell me in ASL, I can't for the life of me get that to work, no matter how hard I try. Just tell me what to do and I'll do it. (sorry for the length.)

Elexxorine
20 Dec 2005, 15:13
ok... random is easy. go set a numeric variable. click on the '$' function button and find random number. enter the smallest and lowest numbers where it says. then do an conditional for each possable value of that variable. hope you understand that, it's actually much easier in asl. lol.

I'm unsure how to fix the picture problem. is it in the same folder as the game you're making? if not move it there. make sure you've put the right . tag on it. if it's a gif and you write png, quest will get confused and die. it says path/file accsess error so it's prolly one of those. if i were you i'd make the tag in the same cass too...

ramtha
21 Dec 2005, 00:28
Ok never mind on what I said before. (This is edited) But I figured out the Picture thing. I had the whole file path instead of the name.

paul_one
28 Dec 2005, 14:37
This is an old random demo:
http://www.compwhizz.freeserve.co.uk/asldemos/Random.asl

It's using ASL 270, while the current one is ASL 350.

I'm currently creating a few demo's. May make a whole series.
Can anyone come up with a list of the most frequent questions - and I'll try to create demo's for them.