Zorkaz Posted June 17, 2019 Share Posted June 17, 2019 Dear people how do I make the following thing: Player can only interact with an activator when he has a shovel equipped.All my interaction conditions didn't work out, maybe I'm overlooking a simple step Link to comment Share on other sites More sharing options...
pra Posted June 18, 2019 Share Posted June 18, 2019 Simplest way: put a a script on the activator, and in the OnActivate, do this: https://www.creationkit.com/fallout4/index.php?title=IsEquipped_-_Actor Edit: eh, here's a full script which might work: ScriptName myGraveScript extends ObjectReference const Weapon property myShovel auto const mandatory {put your weapon in here} Event onActivate(ObjectReference act) if(act == Game.GetPlayer()) if(Game.GetPlayer().isEquipped(myWeapon)) ; do something here endif endif endevent Link to comment Share on other sites More sharing options...
Zorkaz Posted June 18, 2019 Author Share Posted June 18, 2019 Thanks Link to comment Share on other sites More sharing options...
DieFeM Posted June 18, 2019 Share Posted June 18, 2019 You can use interaction conditions: Link to comment Share on other sites More sharing options...
Zorkaz Posted June 18, 2019 Author Share Posted June 18, 2019 Also thanks Link to comment Share on other sites More sharing options...
pra Posted June 19, 2019 Share Posted June 19, 2019 Wut, you can? In just plain activators? Or is this just a perk's entry point? Link to comment Share on other sites More sharing options...
DieFeM Posted June 19, 2019 Share Posted June 19, 2019 I'm wrong, I used the interaction conditions for NPCs interacting with furnitures and it works, but didn't tested it for the player nor with activators, it actually doesn't have any effect for the player.Doing it as Pra suggested is the way to go. Or you can do it using a perk, but it is more complicated. Link to comment Share on other sites More sharing options...
niston Posted June 19, 2019 Share Posted June 19, 2019 Hmm, I tried making an interaction condition like this that would prevent player from entering a furniture, by running IsPlayerRef == 0.00 on Subject (IIRC). It didn't work at all for me. Link to comment Share on other sites More sharing options...
Recommended Posts