create a destination marker on right click ?
by Jeff Yaskus · in Torque Game Engine · 03/15/2010 (3:23 pm) · 1 replies
I'm trying to figure out how to make a destination marker appear when player right clicks the mouse.
(Its a rts style game)
The T3D document mentions being able to create a decal for a destination marker -- is that possible with TGE ?
http://docs.torquepowered.com/torque-3d/official/index.html?content/documentation/Scripting/Advanced/RTSPrototype.html
DecalManager doesn't seem to be exposed to scripts in TGE ...
I tried this console function, but as the user posted -- doesn't work. I think maybe its a client/server issue ? Like the decals aren't sent to the client or something ?
http://www.torquepowered.com/community/forums/viewthread/57917
Or is there some other way to draw a temporary "icon" at the right click location ?
(Its a rts style game)
The T3D document mentions being able to create a decal for a destination marker -- is that possible with TGE ?
http://docs.torquepowered.com/torque-3d/official/index.html?content/documentation/Scripting/Advanced/RTSPrototype.html
DecalManager doesn't seem to be exposed to scripts in TGE ...
I tried this console function, but as the user posted -- doesn't work. I think maybe its a client/server issue ? Like the decals aren't sent to the client or something ?
http://www.torquepowered.com/community/forums/viewthread/57917
Or is there some other way to draw a temporary "icon" at the right click location ?
About the author
Long time gamer, hacker and programmer. With dreams of making video games -
Torque Owner Jeff Yaskus
jy games