Jump to content

[Info] Script Help


reaper9111

Recommended Posts

Hello guy's i want to be able to summon my own creature / mount so i did this, but the compliler doe'nt want to compile it !

 

ObjectReference Property XXXHorseRef Auto

 

Event OnEffectFinish(Actor Target)

Target.MoveTo Player, 100, 0, 0

EndEvent

 

What m'i doing wrong ?

 

Is it the "ActorReference insted of Object ???"

Please help, this is to summon a horse ? (custom)

 

Thanks

Reaper

Link to comment
Share on other sites

It looks like you're trying to use the console version of the MoveTo command.

Change the syntax to the papyrus version.

 

If you want help with diagnosing errors then it's easier for people to help if you post the compiler errors along with your full script.

Link to comment
Share on other sites

Your script not making any sense to me. You moving the target of your spell to you and XXXHourseRef is not used.

 

This should fix your compiler problem:

 

Scriptname XYZ extends ActiveMagicEffect

ObjectReference Property XXXHorseRef Auto

Event OnEffectFinish(Actor akTarget, Actor akCaster)
XXXHorseRef.MoveTo(Game.GetPlayer(), 100, 0, 0)
EndEvent

 

But, there is better way to summon a creature.

Edited by Outlandstalker
Link to comment
Share on other sites

  • Recently Browsing   0 members

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