Make parts of a DIF Clickable.
by Santosh Pillai · in Technical Issues · 05/09/2008 (1:33 am) · 2 replies
I have DIFs placed in my mission file. Now I need to make some parts of a particular DIF (it can be any of them) clickable. For eg. if I have a DIF which represents a house and inside the house there is a picture, I need to make that picture clickable. How is this going to be possible? Any idea guys?
#2
05/09/2008 (7:30 am)
The easiest option would be to create the clickable items as DTS models and perform an action like Dustin notes on them.
Dustin Mullen
You could setup the picture like you would a door in the door resource which can be found by searching on the TDN or the forums. You could setup and use the enter button for when the player gets close to the picture then if the player presses enter, it preforms some action.
It sounds like you are using the 2d engine though, so I'm not sure how that would work.