Here's what I have:
SCN 000MSTSCWeaponnostealref myselfbegin OnEquipSet myself to getcontainershowmessage 000test01 if myself != Player && myself.Getinfaction 00MSTSCWeaponAllow != 1 showmessage 000test02 myself.placeatme 00MSDLC05RobotCannonMineIMP 1 ; kill me bloodily myself.kill CG01DadREF 3 0 myself.kill CG01DadREF 4 0 removeme endif endifend
So let's say a Faction NPC carrying weapon (let's say, TSC railgun.) Is killed by a talon company merc. Talon company merc is also fighting several other TSC members. Talon comany merc sees railgun and thinks "Oh boy! A better gun than I currently have! I'm gonna loot it and pwn these noobs " so he runs over to the body, and takes the gun, and tries to equip it.
IN THEORY WHAT SHOULD HAPPEN: The second the talon merc tries to equip the weapon, it explodes, killing him and blowing his arms off. However, should the player or anyone else in the TSC faction attempt this, the weapon will function normally.
WHAT ACTUALLY HAPPENS: The Talon Merc hovers over the corpose for about 10 seconds, trying to equip the weapon. Eventually he finally does, with no explosions, or anything. Sometimes he actually equips it, sometimes he mime-equips it, that he pretends to hold the gun and he shoots projectiles as if he is holding it, but in reality he isn't holding anything and when killed its found he doesn't have it equipped.
PS: It doesn't show either message box either.
I'm not sure why its doing this, but please, someone help me out!