Game Development Community

Message to all within game

by William Goh (Joondalup IT TAFE) · in Torque 3D Professional · 11/30/2009 (2:27 am) · 1 replies

Would like to have a message appear when I pickup an item but I'm a bit stuck. How would I do this or is there any tutorials regarding this?

#1
11/30/2009 (12:20 pm)
This should be alredy in T3D.
Look at the Armor::onCollision function, the ShapeBase::pickup, and the ItemData::onPickup
This is the chain, the message to the client is sent in the ItemData::onPickup function