Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

allidoischill

Allies
  • Posts

    3
  • Joined

  • Last visited

allidoischill's Achievements

Layman

Layman (1/11)

0

Reputation

  1. Also, I have a second update quest with the following script on it. I don't think it does anything Scriptname ZCIVprisonerupdate extends Quest Quest Property ZCIVprisoner Auto Event OnInit() RegisterForUpdate(5) EndEvent
  2. Hi everyone! So I'm trying to use aliases to get the game to shove new packages onto an actor as the actor is being assigned into a faction and teleported to another room. Here is the script for the button that triggers the stuff. Scriptname ZCIVbutton1 extends ObjectReference Faction Property ZCIVFACTIONprisoner Auto GlobalVariable Property ZCIVinitiate1 auto ObjectReference Property ZCIVini001 Auto ObjectReference Property ZCIVprisonmarkerr Auto EVENT onactivate(objectReference akActionRef) float mark1 = ZCIVinitiate1.getvalue() if mark1 == 1 ZCIVinitiate1.Setvalue(0) Actor closest1 = Game.FindClosestActorFromRef(ZCIVini001, 5.0) closest1.moveTo(ZCIVprisonmarkerr) closest1.SetRestrained(false) closest1.SetFactionRank(ZCIVFACTIONprisoner, 1) RegisterForSingleUpdate(1) else debug.trace("There is no one in cell 1!") endif endevent So the set faction part works and the teleport works, but I still do not understand how to put the actor into the alias list. I thought that registering for single update and having the alias condition require the faction would be enough, but it does not seem to be the case. The location reference thing I put in doesn't seem to be showing up. Is there a papyrus script that I could use that would just stick the actor I am moving right into the quest alias? I have tried reading the tutorials, but they have not been helpful on my specific matter. Thanks very much!
  3. Hi everyone. This is the first script I've tried to code in papyrus, and what I'm trying to do is is make a magic effect that will take the target of a spell and change the actor's race into a Skeleton Custom Race. Here's what I've got: output is as follows: ZNECskeliscript.psc(7,7): type mismatch on parameter 1 (did you forget a cast?) ZNECskeliscript.psc(5,0): the parameter types of function onspellcast in the empty state on script znecskeliscript do not match the parent script activemagiceffect No output generated for ZNECskeliscript, compilation failed. So I think the issue revolves around the SetRace function and how it doesn't belong in the activemagiceffect functions since it's an actor function, but I have no idea how to get around that. Any help would be much appreciated.
×
×
  • Create New...