@Airslide:
Your method would be faster in terms of processing sense if he only wanted to use it for a single item. I went on a skew there lol. The setup I had made would be most efficient if you wanted it to be used for everything like activating switches, doors, character conversations, item pickups, etc.
If I recall correctly, your "pickobject" only checks a raycast against that entity, whereas the "settargetreticle" command checks a raycast against all dynamic entities and the level itself (I check against the universe obj so you can't activate things through a wall
)
@s4real:
Yeah, I had some issues with my computer last year around this time.... with my power supply.... and it's my power supply again this year. Seriously, I have bad luck with PSUs. It may be because I leave my computer on 24/7 which puts a strain on the power supply.
@puppy of kosh:
Technically you can, but it's a little inefficient. Perhaps I should add a random number command for variables.
The way you would do it right now would look something like this:
;Make a random number between 1 and 10
:state=0,random=10:setvar=MyVariable 1,state=1
:state=0,random=10:setvar=MyVariable 2,state=1
:state=0,random=10:setvar=MyVariable 3,state=1
:state=0,random=10:setvar=MyVariable 4,state=1
:state=0,random=10:setvar=MyVariable 5,state=1
:state=0,random=10:setvar=MyVariable 6,state=1
:state=0,random=10:setvar=MyVariable 7,state=1
:state=0,random=10:setvar=MyVariable 8,state=1
:state=0,random=10:setvar=MyVariable 9,state=1
:state=0:setvar=MyVariable 10,state=1
Like I said, it's pretty inefficient, especially if you want a wide range of random numbers... like from 0 to 100
@Everyone:
My computer is back online now. It seems to be running fine with minor hiccups (I lost a stick of 2GB RAM and replaced it in a seperate channel with 2 1GB sticks of RAM that run at a lower frequency, so that's causing some problems)
I'm very busy with school, though... that and I've come down out of my developing mode. I won't be working on this for a little while. I'll probably pick it back up again sometime next month, or when the Mod Contest that I'm hosting is over.
The one and only,