Jump to content

[LE] Script request... please? =)


Recommended Posts

Hi :laugh:

 

I'm working on a new Mod for Old Skyrim. What I want to do is to spawn a Stone when the player activates a trigger box.

 

What I have so far is a script that spawns the Stone when the player "Enters" the trigger box... and yes it works but it looks bad, the stone just pops into existence so I would like to add an effect and a sound, like the one the game uses when you summon an atronach or that horse from the dlc. Maybe not exactly those but any sound or shadder would be great.

 

 

Scriptname MODActivarPiedra extends ObjectReference
{Activa los Portcrystals}

ObjectReference Property Portcrystal1 Auto
ObjectReference Property Portcrystal2 Auto

Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == Game.GetPlayer()
Portcrystal1.Enable()
Portcrystal2.Enable()

Endif

Endevent

 

Thank you very much =D

Edited by SerchBoogie
Link to comment
Share on other sites


Scriptname MODActivarPiedra extends ObjectReference

{Activa los Portcrystals}

ObjectReference Property Portcrystal1 Auto

ObjectReference Property Portcrystal2 Auto

Activator Property SummonTargetFXActivator Auto

{Autofill this, it is the summoning FX, with visuals and sound}

Event OnActivate(ObjectReference akActionRef)

If akActionRef == Game.GetPlayer()

Portcrystal1.Enable()

Portcrystal1.PlaceatMe(SummonTargetFXActivator)

Portcrystal2.Enable()

Portcrystal2.PlaceatMe(SummonTargetFXActivator)

Endif

Endevent

 

Edited by FrankFamily
Link to comment
Share on other sites

  • Recently Browsing   0 members

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