View File
OnPCAttackEvent
This event triggers when a player character attacks another entity. And it registers the damage and other information about the attack.
Example usage:
// @damage holds the amount of damage dealt.
// @damagegid holds the GID of the target (account ID if the target is a player).
// @damagerid holds the rid of the mob
OnPCAttackEvent:
dispbottom "You've dealt "+@damage+" to target with GID "+@damagegid+" and RID "+@damagerid;
Submitter
Mastagoon
Submitted
05/10/2021
Category
Source Modifications
Video
Content Author
Mastagoon