- Joined
- Sep 21, 2017
- Messages
- 462
- Solutions
- 1
- Reaction score
- 237
- Points
- 55
- Favorite Pinball Machine
- Indiana Jones (Williams)
I'm working through some ideas on creating a custom pinball framework. In one idea I have, there would be a custom function which takes a variable. With this variable/object reference, I need to know if the value passed in is of type Kicker, Switch, Bumper, Spinners, etc. -- basically be able to determine, based upon the type, if the FP object has a Hit and Unhit event, or just a Hit event (which I can based upon the type)
I don't think there is a way, but I thought I would ask -- Is there anyway to determine the FP object type given a reference?
thanks,
mark
I don't think there is a way, but I thought I would ask -- Is there anyway to determine the FP object type given a reference?
thanks,
mark