Toribash
Original Post
why does the color change in draw_3d
I am currently working on a script and was testing some stuff and I noticed some weird behaviour of the drawing color with 3d drawing functions:

This is all the same game with the same script. Try it.
I'm using 3.91
Question: Why does this happen? This is total nonsence.
I know how to prevent it, I was just wondering.

e: Attached the script.
Attached Files
sphereTest.lua (69 Bytes, 4 views)
Signature temporarily out of order.
I think you havent made it like an item, but more like a tori. Just looking differently from normal.
[Fr3styL]|TNT|Rooyall: Wanna smell my dick? Me: Why not? Rooyall: That's what I ask the girls all the time..
If you don't set a colour, it uses the last used colour.

In the first case grip colour, in the second case, blood colour.
:D
That's what I thought. But still it doesn't make much sence. Imo a default color would be better.
btw: Is this the right forum? It's a short question with a a short answer but it's lua related.
Last edited by psycore; Apr 18, 2011 at 04:37 PM.
Signature temporarily out of order.