duggelz Posted May 7, 2016 Share Posted May 7, 2016 I'm thinking about some kind of "portable scrapper" weapon, either melee or projectile, that runs some code whenever the player hits an object in the world. How would I get this event? I can't attach a script to every object in the world, and the events on the player are for when the player gets hit by something else. Thoughts? It looks like cloak-type enchantments still can't apply an Effect to a non-Actor object? Link to comment Share on other sites More sharing options...
zanity Posted May 7, 2016 Share Posted May 7, 2016 The engine does what the engine does- and that is anything BUT a general purpose programmable state machine. Most functionality is baked in- that's just the way it's always been with this Beth engine. If a baked in library function doesn't give you what you need, you are usually out of luck. Static objects are STATIC for a reason- so the engine can just IGNORE them. Edit mode will be a special non-game mode HACK, that was never intended for in-game functionality. Sadly Beth mislead many by implying that playing FO4 and editing FO4 were now one-and-the-same (which would have been a terrible idea). The whole idea of an 'event' is that it is a CREATING thing that exists for a specific reason. Obviously, if you 'hit' an object and get an 'event', the object should NOT be a generic static one. The creator of the specific 'event' system should wnat to be the conceptual owner of the 'object' involved, and that is how it should be. A 'static' object usually has no meaning save for the renderer- and its 'blocking' geometry. Link to comment Share on other sites More sharing options...
duggelz Posted May 7, 2016 Author Share Posted May 7, 2016 When I say "static object" I mean MovableStatic forms like "AutomotiveCar02Debris01" or Static forms like "TireStack1", not random ground geometry. In Skyrim, I made books glow by using QuestAliases. And it worked, but could be flaky at times. I was hoping there was a more direct way. Link to comment Share on other sites More sharing options...
Recommended Posts