mlee3141 Posted October 9, 2015 Share Posted October 9, 2015 Hi! I was wondering, how would I go about making a script that kills a summoned creature the moment its summoner leaves combat? Thanks! Link to comment Share on other sites More sharing options...
skinnytecboy Posted October 10, 2015 Share Posted October 10, 2015 Not sure if this is what you mean, but you could try placing a script upon your actor that detects combat state http://www.creationkit.com/OnCombatStateChanged_-_Actor Link to comment Share on other sites More sharing options...
JetSteele Posted October 10, 2015 Share Posted October 10, 2015 You could try to make an onupdate script for the actor at every second and use thegame.getplayer().isincombat() detection variable. Run the variable every second and when the game detects that the player isn't in combat have a actor.kill() command to well kill the actor. creationkit.com/IsInCombat_-_Actor creationkit.com/Kill_-_Actor creationkit.com/OnUpdate_-_Form Link to comment Share on other sites More sharing options...
Recommended Posts