Jump to content

help papyrus


zbenji

Recommended Posts

hello,

sorry for my way of speaking, I have not mastered English well,

I am looking to create a script like "activemagiceffect"

I do not how how

I want to make a spell to make a "placeactoratme" command for summon a tiger mount.

 

my script:

 

 

 

Scriptname zzztigreche2 extends activemagiceffect

 

A1 Auto Property actorbase

 

Actor tig1 Auto Property

 

and......?????

 

please help me

Link to comment
Share on other sites

My script compile is succeeded but nothing appear:

 

Scriptname aaaTIGREMAGIC extends activemagiceffect

 

 

Actor Property tigremount Auto

 

SPELL Property sort Auto

 

 

import Utility

import Game

import Debug

 

event OnEffectStart(Actor caster, Actor Target)

Actor player = GetPlayer()

 

 

 

 

 

tigremount.MoveTo(player,200,0,0,TRUE)

 

 

tigremount.enable()

 

 

 

endevent

Link to comment
Share on other sites

I do not understand what there is of bad

 

 

 

Scriptname aaaTIGREMAGIC extends activemagiceffect

 

 

Actor Property tigremount Auto

ObjectReference Property tigreref Auto

SPELL Property sort Auto

MagicEffect Property aaspell Auto

 

import Utility

import Game

import Debug

 

event OnEffectStart(Actor caster, Actor tigremount)

Actor player = GetPlayer()

 

 

 

 

 

tigreref.MoveTo(player,20,0,0,TRUE)

 

 

tigreref.enable()

 

 

 

endevent

Edited by zbenji
Link to comment
Share on other sites

Scriptname aaaTIGREMAGIC extends activemagiceffect 


Event OnEffectStart(Actor akTarget, Actor akCaster)
    If (akCaster = Game.GetPlayer())
         ObjectReference SummonedTigerMount = Game.GetPlayer().PlaceAtMe(tigremount)
    Endif
Endevent

Actor Property tigremount Auto

 

edit:

Why don't you just use a .bat file?

lol wat? Thats like choosing to use a butter knife instead of a screwdriver..

 

edit2: To dismiss your mount you could do something like this. Though I dont know how your spell is setup. The magic system confuses me anyway. had some typos in the first one such as = suppose to be ==

 

Event OnEffectStart(Actor akTarget, Actor akCaster)
   If (akCaster == Game.GetPlayer())
       ObjectReference SummonedTigerMount = Game.GetPlayer().PlaceAtMe(tigremount)
	SummonedActor = SummonedTigerMount
    Endif
Endevent


Event OnEffectFinish(Actor akTarget, Actor akCaster)
SummonedActor.Delete()
endEvent
Actor Property tigremount Auto
ObjectReference Property SummonedActor Auto

sorry, Im sloppy

Link to comment
Share on other sites

  • Recently Browsing   0 members

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