PatmanSan Unlimited

eXtreme+ Modding => COD4 Tutorials => Topic started by: topg3ar on January 28, 2011, 12:52:58 am

Title: Access a weapons "tag_flash"?
Post by: topg3ar on January 28, 2011, 12:52:58 am
Hello again, sorry if I'm posting too much.

But is it possible to access the players weapon tags such as "tag_flash".
All the attempts I've had give errors of: undefined is not a vector etc

I've tried:
test = spawn( "script_model",self.weapon_array_primary[0] getTagOrigin( "tag_flash" ) );
test = spawn( "script_model",self.weapon getTagOrigin( "tag_flash" ) );
test = spawn( "script_model",self getTagOrigin( "tag_flash" ) );

But none have worked.