I would be quite surprised if this were possible. Brush entities aren't 
designed to be created dynamically at all - what's probably happening 
when you try to create new instances is that the entity is being created 
without an attached brush, i.e. it is invisible.

What's stopping you from using a model? That would work immediately.

Aditya Gaddam wrote:
> Hi,
>
> I am trying to make copies/instances of this panel I made in hammer in
> my map. I followed
> http://developer.valvesoftware.com/wiki/Authoring_a_Brush_Entity and
> gave the panel the class specified in the tutorial and then used the
> code in my mod. I was able to push the block around like the code
> says. However, if I create more using CreateEntityByName, I don't see
> anything. The returned object from CreateEntityByName is NOT null. I
> called Spawn() and Activate() on the object, but to no avail. I can
> set it's position and such. But I dont see it!
>
> Is there a better way to instantiate stuff you can stand on in the
> world? If not, how do I solve this problem above?
>
> Thanks,
> Aditya
>
>   


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to