Is there a way to retrieve a pointer from a class<> which is an argument of a custom function?
What I mean is:
Code: Select all
action state A_LoadBow(class<Weapon> secondary = 'Bow')
What I want is to be able to get the 'AmmoType1' of the weapon specified in the function's argument.
How ca I do that?