name Ryu3
type enemy
health 100000
gfxshadow 1
speed 14
aimove chase
aimove wander
nolife 1
subject_to_screen 1
score 0 -1
bounce 1
score
score {onkill} {multiplier}
Changes the score earned by killing this entity. Both {onkill} and {multiplier} are {int}s.
When the entity dies, the player who killed him/her/it will get {onkill} bonus points to their score.
Any hits landed on this entity by a player which would increase the player's score is multiplied by {multiplier}.
The default value is 5 for the multiplier. Setting {multiplier} to 0 makes it use default setting. Use -1 if you want to set 0 multiplier.
When used with an item, {onkill} changes the amount of score added when the item is picked up and {multiplier} is not used.
maxman said:Use score in the character header.
Example:
Code:name Ryu3 type enemy health 100000 gfxshadow 1 speed 14 aimove chase aimove wander nolife 1 subject_to_screen 1 score 0 -1 bounce 1
score
score {onkill} {multiplier}
Changes the score earned by killing this entity. Both {onkill} and {multiplier} are {int}s.
When the entity dies, the player who killed him/her/it will get {onkill} bonus points to their score.
Any hits landed on this entity by a player which would increase the player's score is multiplied by {multiplier}.
The default value is 5 for the multiplier. Setting {multiplier} to 0 makes it use default setting. Use -1 if you want to set 0 multiplier.
When used with an item, {onkill} changes the amount of score added when the item is picked up and {multiplier} is not used.