Game Development Community

Calling on a selected object

by Aidan Sliney · in Technical Issues · 02/05/2008 (3:15 am) · 1 replies

I have completed the mouse selection post. It simply selects an object.

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7335


How do I do i call on this selected object?

for example deleting it!????

#1
02/05/2008 (4:20 am)
Did you look at step 4? i've never messed with that resource but i just scanned over it. in step 4 it shows you how to do the selection in script and tells you if an object has been found to select. You could just make a global variable or something to store object id.