Talk:WeaponState (script event)
From modwiki
blendframes
still needs to be looked into exactly how idweapon fsm uses blendframes --TinMan 21:31, 12 March 2008 (CET)
script event templates
The usage part in the script event templates eg
Usage
In your script type...
void weaponState( string functionName, float blendFrames )
Is incorrect. It should be [script pointer to entity of spawn class type that supports event].weaponState( functionName, blendframes ). Etc.
Yeah, a bit of a mouthful, it should be made clear for script events what spawn class the event in declared in/works on, and need some terminology for the 'pointer of blah blah'.
Though the script event declaration should probably still be kept as it is a good quick way to look up parameters. --TinMan 21:31, 12 March 2008 (CET)
- Ok, found and looked at template and saw from explanation how you were trying to define it, it's the line 'In your script type...', and maybe term Usage that threw me off and would others.
--TinMan 06:21, 13 March 2008 (CET)

