Author Topic: Give/setRandomWeapon  (Read 502 times)

Two output events, one for setting the brick's item and one for giving it to a player.

The situation
We have an output event - GiveRandomItem.

The problem
It is able to give you a hammer or some other tool (From what I know).

The solution
Each item has a line of code, from what i'm lead to beleive - This line of code determines if it can see bricks with rendering off. If it can see unrendered bricks, it's a tool. If not, it's a weapon. This event is modified to check if it's actually a weapon being given.

Couldn't you do this with VCE?

Couldn't you do this with VCE?
Actually you could do this very easily with VCE, if you want me to post the events for it just let me know and i will

The solution
Each item has a line of code, from what i'm lead to beleive - This line of code determines if it can see bricks with rendering off. If it can see unrendered bricks, it's a tool. If not, it's a weapon. This event is modified to check if it's actually a weapon being given.
Badspot's keys


Couldn't you do this with VCE?
Why do we have washing machines? Can't we wash all of our clothes by hand?

Badspot's keys


I'm taking that as a "we can't do this"