- Joined
- Feb 27, 2007
- Messages
- 5,578
This system also leaks like your Unit Buy system I commented on, and the leaks here will have to be fixed as well. This system relies entirely on the "Unit - A unit Is attacked" event, which is simply insufficient for these purposes. This event can be fired without ever actually launching an attack if you spam stop while a unit tries to autoattack. This system needs, at minimum, to use a Damage Detection System to run all of the weapon use triggers.
In addition to that, this system lacks any documentation about how to make your own new weapons/attacks and most of the things that should be configurable are hardcoded into the triggers (instead of using variables set in an init trigger). It also uses waits in Integer A loops, which are a terrible idea and need to be avoided.
In addition to that, this system lacks any documentation about how to make your own new weapons/attacks and most of the things that should be configurable are hardcoded into the triggers (instead of using variables set in an init trigger). It also uses waits in Integer A loops, which are a terrible idea and need to be avoided.