Jump to content

Photo

How to make interactions?

skyrim mods help sck

  • Please log in to reply
5 replies to this topic

#1
wilwhitt56

wilwhitt56

    Fan

  • Members
  • PipPipPip
  • 305 posts

Hello, im trying to make interactions for certain items or triggers. Like if you walk into a triggerbox or touch an object, it will state something. Example: You go to an old set of doors and touch them, a box pops up stating thats it's locked and needs a key.



#2
wilwhitt56

wilwhitt56

    Fan

  • Members
  • PipPipPip
  • 305 posts

anyone?



#3
MFitz56

MFitz56

    Fan

  • Members
  • PipPipPip
  • 293 posts

Per

 

anyone?

Perhaps you should look at this:

 

https://www.creation...rus_Hello_World



#4
wilwhitt56

wilwhitt56

    Fan

  • Members
  • PipPipPip
  • 305 posts

I've made one, but it doesn't seem to be working

 

Scriptname Interact01 extends ObjectReference  
{Scriptname Interact01 Extends ObjectReference
(The foul smell of stagnant water and rotting food permeates from the door. )
 
Event OnActivate(ObjectReference akActionRef)
      Debug.MessageBox("Sup mah Dude")
endEvent}


#5
greyday01

greyday01

    Old hand

  • Premium Member
  • 555 posts

Try getting rid of the second line or add a bracket at the end of it. I think it needs 2.

Make sure the activator is not at a 0 degree angle. Add a decimal to each degree value.

Other than that I think your script should work.



#6
wilwhitt56

wilwhitt56

    Fan

  • Members
  • PipPipPip
  • 305 posts

i got it working







Also tagged with one or more of these keywords: skyrim, mods, help, sck

IPB skins by Skinbox
Page loaded in: 1.081 seconds