- Joined
- Sep 21, 2017
- Messages
- 477
- Solutions
- 1
- Reaction score
- 239
- Points
- 55
- Favorite Pinball Machine
- Indiana Jones (Williams)
Ok I've gone through many different posts from the past couple of years trying to figure out. It looks like I have to use Eval to get the Ext version of an object.
- if given an object reference, call it "obj",
- And if object is a type of object in FP and BAM which has an "Ext" part,
- how can I get to the Ext part? Is the only way via the Eval function?
C#:
sub ModifyLight( light)
dim lightExt
set lightExt = Eval(light.Name & "Ext")
light.State = BulbOn
lightExt.SetLitColor 255, 0, 0
end sub