Demeggy Posted October 14, 2012 Share Posted October 14, 2012 Afternoon all. So Ive been toying over various different experiments recently on how to create 'shadow spots' for the player; places where if they enter a particular trigger, they'll be effectively completely invisible to the enemy. At current, I'm using the below code on trigegrs used as 'shadow spots', but they don't seem to be having an effect. begin ontriggerenter player ShowMessage A000shadowsOn player.setghost 1 end begin ontriggerleave player ShowMessage A000shadowsOff player.setghost 0 end Any suggestions? Link to comment Share on other sites More sharing options...
viennacalling Posted October 14, 2012 Share Posted October 14, 2012 Looking at the GECK wiki entry for SetGhost, it doesn't seem like it would do what you want at all. How about reusing the effects used by the stealthboy? Link to comment Share on other sites More sharing options...
devinpatterson Posted October 16, 2012 Share Posted October 16, 2012 Yeah, like Viennacalling said, setghost just protects you from combat; from the geck function page;"The actor will not enter combatThe actor cannot be harmed by a weapon or spell in any way" the TES has more info; "The actor will not enter combatThe actor cannot be harmed by a weapon or spell in any way.The actor will not be affected by any new magic effects.The actor will be hurt by water damage and some trapsThe actor can inflict damage. So using player.SetGhost 1 will not prevent the player from killing their enemies.The actor is still able to talk and can be activated to talk.The actor can not be pick pocketed." But it boils down to the same. For the stealthboy as Viennacalling was suggesting, it adds 100 to your increaseSkillSneak, and seems like the way to go. Link to comment Share on other sites More sharing options...
devinpatterson Posted October 16, 2012 Share Posted October 16, 2012 Another suggestion might be to use SCAOnActor (StopCombatAlarmOnActor) on the player, that way when s/he enters a trigger everyone will suddenly loose sight of him and end combat. Link to comment Share on other sites More sharing options...
Recommended Posts