Type Trouble

Blitz3D Forums/Blitz3D Programming/Type Trouble

big10p. Thanks for the code, but it doesn't work. The debug reports "Illegal type conversion". Perhaps I should have mentioned this earlier, but I tried numerous other methods of trying to make this work and got this same error almost every time. When I didn't, the whole game changed and after one frame I got the classic "object does not exist" error.

puki, I'm afraid I dodn't have the time to read 400 pages to solve problems like this.

This seems to be the last big hurdle in my attempt to make this game. This section of a function controls picking up the weapon, activating it and setting all the variables for its operation. Everything else is a piece of cake.:)

But , obviously, I don't want my computer to crash