View Single Post
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 07-21-2013 , 16:20   Re: [TF2Items] Randomizer (v1.58, 07/20/2013)
Reply With Quote #541

PHP Code:
                SetVariantString(weaponname);
                
AcceptEntityInput(particle"SetParent"particleparticle0);        // parent the particle to the weapon
                
SetVariantString("weapon_bone_L");
                
AcceptEntityInput(particle"SetParentAttachmentMaintainOffset"particleparticle0);
                
                
ActivateEntity(particle);
                
AcceptEntityInput(particle"Start"); 
This works for me.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline