Jump to content

Cylindrical Trigger Zone


Zorkaz

Recommended Posts

This is not a request for me but for the whole of humankind. Can someone please create a simple cylindrical trigger zone as a .nif? The Height can vary it's not that important.

Just something that accepts for "OnTriggerEnter"

 

 

I'm personally thinking of Spinning Traps

Link to comment
Share on other sites

Okay I thought this would be something basic, sry. I do not know about 3dsmax, Maya or Blender and thus the flags to make an object passthrough with trigger effect.

Only some workshop traps do have the feature

Link to comment
Share on other sites

In the event the other didn't work, I experimented a bit more with the collision setting. I tested the attached with the following test script and it seemed to work fine.

Scriptname FO4_TestTriggerScript extends ObjectReference
{script that simply activates the master script when player enters the trigger}


;************************************

auto State Active
	Event OnTriggerEnter(ObjectReference akActionRef)
		if(akActionRef == game.GetPlayer())
			Debug.Notification("Hello, the player has entered the trigger")
		endif
	EndEvent

	Event OnTriggerLeave(ObjectReference akActionRef)
		if(akActionRef == game.GetPlayer())
			Debug.Notification("Hello, the player has left the trigger")
		endif
	EndEvent
EndState

;************************************

State Done
	;do nothing
	Event OnTriggerEnter(ObjectReference akActionRef)
	    ;do nothing
	EndEvent

	Event OnTriggerLeave(ObjectReference akActionRef)
	    ;do nothing
	EndEvent
EndState
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...