The no ally projectile affect the drawing of the bullets.
Thats why we set it in the draw and drawshadow methods.
Basicaly, the projectile has an attribute which is the "ownerid_"= who fired this bullet?
What does the inserted code?
IF bullet.ownerid is "player" > lets draw it
ELSE if "unknowvar is true" > lets draw it..
Else quit (returnvoid) the method without drawing it.
You know, i found this code studying the old cube's hack.
It was pretty obvious that "dont draw that particles" was in the draw methods of the Particle class
I didnt dug to see what is this variable, but nilly's right, its always under "bullettype_"..
That is VERY IMPORTANT WHEN YOU SEARCH FOR NAMES IN TRAIT SLOT.
Look for variable names regarding their positions : after "bullettype_", "under the size_ trait", "2nd trait of type Vector"..
Position is very important to locate new names because they dont change from one build to another.
Thats why we set it in the draw and drawshadow methods.
Basicaly, the projectile has an attribute which is the "ownerid_"= who fired this bullet?
What does the inserted code?
IF bullet.ownerid is "player" > lets draw it
ELSE if "unknowvar is true" > lets draw it..
Else quit (returnvoid) the method without drawing it.
You know, i found this code studying the old cube's hack.
It was pretty obvious that "dont draw that particles" was in the draw methods of the Particle class

I didnt dug to see what is this variable, but nilly's right, its always under "bullettype_"..
That is VERY IMPORTANT WHEN YOU SEARCH FOR NAMES IN TRAIT SLOT.
Look for variable names regarding their positions : after "bullettype_", "under the size_ trait", "2nd trait of type Vector"..
Position is very important to locate new names because they dont change from one build to another.


