I got it so bouncing betties can be activated by players, the only thing I want to fix is that I want the player who placed the betty not to be able activate their own betty. What I have currently doesn't work, any suggestions?
Yet another help topic created by you so other people can look through your terrible code and fix your mistakes.
Whatever. That is what the help desk is for, it just rubs me the wrong way when:
A. You haven't credited anyone in your FFA mod on factory or any of your tutorials
B. Your code is god awful.
C. You don't listen to people when they tell you your code is wrong/not the right way to do it.
self.owner isn't defined.
Other issues: The .origins on AI, players, and entities are NOT arrays and CANNOT have an index. Setting the variable 'trigger' to itself is pointless and does nothing.
If you want scripts / features made for you, then contact me by PM or email / skype etc it will cost you tho so if you have no intention of reciprocating don't even waste my time
//CHris_P - betties do no damage to the players zombs = getaispeciesarray("axis"); for(i=0;i<zombs.size;i++) { //PI ESM: added a z check so that it doesn't kill zombies up or down one floor if(zombs[i].origin[2] < fake_model.origin[2] + 80 && zombs[i].origin[2] > fake_model.origin[2] - 80 && DistanceSquared(zombs[i].origin, fake_model.origin) < 200 * 200) { zombs[i] thread maps\_zombiemode_spawner::zombie_damage( "MOD_ZOMBIE_BETTY", "none", zombs[i].origin, self.owner ); } } //radiusdamage(self.origin,128,1000,75,self.owner);
//CHris_P - betties do no damage to the players zombs = getaispeciesarray("axis"); for(i=0;i<zombs.size;i++) { //PI ESM: added a z check so that it doesn't kill zombies up or down one floor if(zombs[i].origin[2] < fake_model.origin[2] + 80 && zombs[i].origin[2] > fake_model.origin[2] - 80 && DistanceSquared(zombs[i].origin, fake_model.origin) < 200 * 200) { zombs[i] thread maps\_zombiemode_spawner::zombie_damage( "MOD_ZOMBIE_BETTY", "none", zombs[i].origin, self.owner ); } } //radiusdamage(self.origin,128,1000,75,self.owner);