GoldenEye: Source Forums
Editing and Customization => Modding Help => Topic started by: Phivex on September 20, 2016, 07:02:50 pm
-
I can find out the number of parameters and their values when registering a new hook. All I have to do is tell the hook to call a function with a single parameter. It'll error out and say it expected X number of parameters but only found one. I can then change it to take X parameters and then output the values to the console with GEUtil.Msg(), but those values mean nothing to me without knowing what they represent.
-
The variables are the same that would be passed to the corresponding gameplay function. Usually its no variables.
Most variable types print out a meaningful message when you just: print( variable )