Weapon addons
- darksmaster923
- Posts: 1857
- Joined: Wed Jan 03, 2007 10:32 pm
- Location: Huntington Beach, California, USA
- Contact:
Weapon addons
Say, if you have scripted weapons, but my sniper rifle has no scope, but thats because you want the scopes to be interchangeable. But the problem is you can only attack one weapon to a pawn, and that weapon is taken by the sniper rifle. Any ways to do this? I don't really want to get Jay's addons cause its not really up to date
Herp derp.
Re: Weapon addons
The manual:
AttachAccessory(string SlaveName);
AttachAccessory(string SlaveName, string MasterName);
Attach the accessory defined in Pawn.ini as SlaveName to this Pawn's actor. The attached actor will use the same animation as its master.
Attach the accessory defined in Pawn.ini as SlaveName to the actor of the entity MasterName. The attached actor will use the same animation as its master.
DetachAccessory(string SlaveName);
DetachAccessory(string SlaveName, string MasterName);
If the accessory defined in Pawn.ini as SlaveName is attached to this Pawn's actor then it will be detached from the master actor.
If the accessory defined in Pawn.ini as SlaveName is attached to the actor of the entity MasterName then it will be detached from the master actor.
Pain is only psychological.
- darksmaster923
- Posts: 1857
- Joined: Wed Jan 03, 2007 10:32 pm
- Location: Huntington Beach, California, USA
- Contact:
Re: Weapon addons
That is correct DMI assume this was added in RF76?