Glitch
Member
Hey guys, I need some assistance with scripting please.. I'm still a long way to go with my mod 'Resident Evil - Operation Metro City'..scripting is a hurdle I'v finally come to face. I don't know much about it and this my first time trying.
I have a bullet entity its type is 'obstacle' that travels in diagonal direction towards the ground..I need to kill that entity automatically with script at the moment after it has attacked/hits the following:
1. Enemy, obstacle, player, npc ( for these I will use a follow anim, if bullet hits something it will follow to an anim with a script to kill/remove it...I need that kill script)
2. Floor.. (I'm thinking the variable in question would be entity's 'a'/altitude..script to check when its altitude is equal to the floor..then play another animation and then finaly kill/remove it)
How would I go about making these scripts, I don't know how to even start..I went through the scripting manual and looked at other examples in other modules but damn that stuff is greek..
Any assistance would be most welcome
I have a bullet entity its type is 'obstacle' that travels in diagonal direction towards the ground..I need to kill that entity automatically with script at the moment after it has attacked/hits the following:
1. Enemy, obstacle, player, npc ( for these I will use a follow anim, if bullet hits something it will follow to an anim with a script to kill/remove it...I need that kill script)
2. Floor.. (I'm thinking the variable in question would be entity's 'a'/altitude..script to check when its altitude is equal to the floor..then play another animation and then finaly kill/remove it)
How would I go about making these scripts, I don't know how to even start..I went through the scripting manual and looked at other examples in other modules but damn that stuff is greek..
Any assistance would be most welcome