annak366 Posted October 9, 2021 Share Posted October 9, 2021 Hello! Im trying to make a pool with fish swimming around, no problems there! My problem is that i cant seem to make the fishes non takeable. These fish are just for looking at not to catch! Any ideas?? Have a nice weekend folks :) Link to comment Share on other sites More sharing options...
ReDragon2013 Posted October 10, 2021 Share Posted October 10, 2021 (edited) Two ways I would have in my mind. 1) Add some invisible collision layers (you'll find that infront of bookshelfs) above the pool surface. Make sure these objects do not have any script attached! 2) use a grand child script as follow to prevent any hit or activation of fishesannakCritterFish Scriptname annakCritterFish extends CritterFish {ReDragon 2021, 10-10} ; https://forums.nexusmods.com/index.php?/topic/10588778-fish-problem/ ;Scriptname Critter extends ObjectReference ; main extender script for all critters handled by script ;Scriptname CritterFish extends Critter ; handles the behavior of fishes (salmon, pondfish) and their schools ; *** Note ********************************************************************************* ; ; A vanilla activator (which has the "critterFish" script attached) has to be duplicated, ; after that change the papyrus binding by "critterFish" with "annakCritterFish". ; Use an editior to copy the whole code from here into the script called "annakCritterFish". ; Do not forget to compile the source ".psc" into ".pex". ; ; -- Skyrim -- ; Skyrim (32-bit): Data \ Scripts \ Source ; ; -- Skyrim Special Edition -- ; Skyrim SE (64-bit): Data \ Source \ Scripts --> your installed Skyrim ; ***************************************************************************************** ; -- EVENTs -- Next events have been added to make fishes swimming in pool not able to catch by player or NPCs. EVENT OnActivate(ObjectReference actionRef) ENDEVENT EVENT OnHit(ObjectReference akAggressor, Form akSource, Projectile akProj, Bool b1, Bool b2, Bool b3, Bool b4) ENDEVENT EVENT OnMagicEffectApply(ObjectReference akCaster, MagicEffect akEffect) ENDEVENT Edited October 10, 2021 by ReDragon2013 Link to comment Share on other sites More sharing options...
annak366 Posted October 15, 2021 Author Share Posted October 15, 2021 Okey... Thank you very much 4 your response!! Not sure if i get it but i will look in 2 it asap!! :) Greeding Anna from Sweden. Link to comment Share on other sites More sharing options...
Recommended Posts