I would like to make an entity shoot at another. Say one Combat Soldier shooting at another.
Two issues arise.
1. Implement the results of a hit. This should be easy. With some scripting I can check if the shot hit the target and decrease its health with SetEntityHealth(e,v).
2. Make the shooting VISIBLE. I have no idea how to make this happen. I would expect that the command FireWeapon(e) should produce a flash and/or smoke, much like when the entity fires at the player. But this doesn't work for me, i.e., including a FireWeapon(e) in my script only produces said effects when the entity is facing the player. I suspect it is required to also use some additional commands, such as "ai_combat_mode[e] = what???" but I could not figure it out from looking at the standard scripts.
Any help will be appreciated
Thn
The issue really is how to make this firing VISIBLE in the engine. The results of firing (i.e.,
Whereof one cannot speak thereof one must be silent