I have a couple XMarkers firing railway spikes and for some reason I can't get the rounds to impact the NPC (or me I think, I tried setting them behind me when I activate it and they didn't hurt me). I made a new form based on the railway rifle for both the weapon and projectile, new rifle shoots the new projectile, got rid of the sounds and adjusted crit chance/damage and thats it (oh and playable). I don't even think I've changed the projectile other then its name, and I can't even shoot the normal Railway Rifle and hit me or the NPC, but missiles work, what is going on?
I'm also trying to have a robot "Deactivated" and then after you activate it and "repair it", it starts talking to you. Problem is I can't activate it, do OnActivate blocks not work on creatures? Here is the script attached to the creature.
scn MTHMetroPALSScriptShort myStateShort iButtonShort RepairedBegin OnActivate If IsActionRef Player If Repaired == 0 ShowMessage MTHMetroRobotRepair Set myState to 1 EndIf EndIfEndBegin GameMode If myState set iButton to GetButtonPressed If iButton == -1 Return ElseIf iButton == 0 If Player.GetItemCount FissionBattery > 1 Player.RemoveItem FissionBattery 2 Set Repaired to 1 Set myState to 2 EVP Else ;ShowMessage MTHNoMaterials Set myState to 0 EndIf EndIf EndIfEnd
Also is there a way to play the "dead animation"?