|
AlliedModders Donor
Join Date: Nov 2014
Location: NZ
|
07-14-2017
, 15:51
Re: [TF2] Yet Another Dodgeball Plugin (Reborn)
|
#14
|
Quote:
Originally Posted by FlaminSarge
I thought you could just do
PHP Code:
SetEntPropFloat(rocket, Prop_Send, "m_flModelScale", 2.0);
If that doesn't work, try
PHP Code:
SetVariantFloat(2.0);
AcceptEntityInput(rocket, "SetModelScale");
Your last option is to spawn a prop_dynamic and parent it to the rocket, then set the model scale on that. I tend to shy away from spawning extra entities, particularly props, if I can avoid it, though. The upside to using prop_dynamic is you can rotate/offset whatever model you attach, as well as set animations, etc, but I don't think you'll need that functionality here.
|
I'll try that, thanks, but it's gotta be for nuke only
Last edited by cigzag; 07-14-2017 at 16:26.
|
|
|
|