| 05-23-2006, 07:20 PM | #1 |
Hi i am making a map where the creeps are a player. I am doing this to create factions. Well when i kill player 5(set as computer), it is not giving my hero any experience points. any solution to this? EDIT: actually i set it to neutral then i dont get xp. but if i set it to computer, then ill get xp, but the computers attack me when i do that. i dont want that to happen. i made a separate trigger where if ur faction is negative, then only they should attack the player. |
| 05-23-2006, 07:32 PM | #2 |
There's a gameplay constant for that. Creep Reduction Table: (Looks like this to start) 80/70/60/50/0 Change it to all 100s. |
| 05-23-2006, 07:34 PM | #3 |
i tried looking for it before but i can't find it, what is the name of the constant? |
| 05-23-2006, 07:48 PM | #4 |
Hero Xp Gained - Creep Reduction Table That's word for word what it's called. |
| 05-23-2006, 08:07 PM | #5 |
i changed it but it didnt work. i think that is only when i kill neutral creeps. i wanna kill neutral controlled 'players'. in the player properties i made a player called player 5 and its control is neutral. when i kill that player i dont get xp but if i change neutral to computer then i get xp. but i need it to be neutral, unless i can figure out a way to make it so when its computer, it doesnt attack me. |
| 05-24-2006, 06:02 PM | #6 |
is it nuetral hostile? cause I don't think nuetral passive units give exp. and why do you want units that don't attack you to give exp? |
| 05-24-2006, 08:04 PM | #7 |
Just make him computer controlled and trigger it to treat everyone else as an ally, but not have everyone else return the favor. That should work. You could always just remove the Aatk from every unit that player owns too. That would work too. |
