I don't know if this is a question or a thought, do you know where to find lighting variables for the editor? They seem random in studio and some don't have any effect.
Updated with more details on the kEnemyAIComponent and some of the missing ActorFlags. Added a link to the AngelScript docs on Arrays.
class Enemy : ScriptObject{ kActor@ self; Enemy(kActor@ actor) { @self = actor; } void OnDamage(kDamageInfo& in dmgInfo) { Hud.AddMessage("Enemy took " + dmgInfo.hits + " damage"); }}
Begin_Component "kexScriptComponent" scriptClass "Enemy" End_Component