Rigmor Posted June 2, 2018 Share Posted June 2, 2018 I want to make a kind of invisible bomb go off, at a reference (not the player) with a force that sends clutter flying (not people) is there a way to do this? Link to comment Share on other sites More sharing options...
RichWebster Posted June 2, 2018 Share Posted June 2, 2018 The PlaceAtMe() function accepts an explosion object. Link to comment Share on other sites More sharing options...
Rigmor Posted June 2, 2018 Author Share Posted June 2, 2018 Would something like this work? Scriptname NewScript extends ObjectReference Explosion Property MyExplosion Auto ObjectReference Property MyMarker Auto Event OnInIt() MyMarker = Self.PlaceAtMe(MyExplosion) EndEvent Link to comment Share on other sites More sharing options...
RichWebster Posted June 2, 2018 Share Posted June 2, 2018 (edited) If MyMarker is where you want the explosion to be use: MyMarker.PlaceAtMe(MyExplosion) Edited June 2, 2018 by B1gBadDaddy Link to comment Share on other sites More sharing options...
Rigmor Posted June 2, 2018 Author Share Posted June 2, 2018 Thanks B1gBadDaddy, Almost seems too good to be true.I'm going in, wish me luck ;) Link to comment Share on other sites More sharing options...
Rigmor Posted June 2, 2018 Author Share Posted June 2, 2018 That script didn't work, but this one did. So I'll leave it here for anyone else looking to create an explosion on an xmarker.I had to use a trigger, and applied this script to it. Scriptname RigmorExplosionTest extends ObjectReference Explosion Property MyExplosion Auto ObjectReference Property MyMarker01 Auto Actor property MyActor auto Event onTriggerEnter (objectReference triggerRef) Actor actorRef = triggerRef as Actor if (actorRef == MyActor) MyMarker01.placeAtMe(myExplosion) endif endEvent Link to comment Share on other sites More sharing options...
PeterMartyr Posted June 2, 2018 Share Posted June 2, 2018 what about just just casting fireblast spell?, if the ref is an actor? Editmaybe a usemagic package for some flair too.. if the ref is an actor Link to comment Share on other sites More sharing options...
Rigmor Posted June 2, 2018 Author Share Posted June 2, 2018 hey peter, i got it sorted, it was an unusual thing i wanted to do. i wanted an npc to hit a table and disturb the clutter, but they always miss it, or the weapon just ignores the clutter objects.I needed a way for the npc to "seem" to hit the table making stuff fly about. so it had to be an invisible "push" or "stagger" that script worked a treat ;) Link to comment Share on other sites More sharing options...
Recommended Posts