Jump to content

Keelan

Member+
  • Content count

    16
  • Joined

  • Last visited

Community Reputation

6 Neutral

About Keelan

  • Rank
    Friend
  • Birthday November 29

Recent Profile Visitors

581 profile views
  1. Hey. I'm looking to help in any province on writing lore, quests, stories etc. I have experience in writing short stories and plays (not professionally, just a hobby) and I'd love to be able to contribute my skills to Beyond Skyrim. I'm more than willing to provide a sample story if you can give me the background details/setting. Thanks. P.S. I'm not too bad at Papyrus scripting either. I was in the Arcane University last year but started teaching myself.
  2. Sorry it's been a while (almost a year :O) Int Function ToInteger(float f) return f.GetValue() EndFunction
  3. That's fine. I'm ready for the next.
  4. So: Scriptname TestScript extends ObjectReference ObjectReference Property objectToTranslate auto Event OnLoad() objectToTranslate.TranslateToRef(Self, 1.0) objectToTranslate.activate(Self) endEventScriptname TestScript2 extends ObjectReference Explosion Property explosionEffect auto Event OnActivate(ObjectReference akActionRef) PlaceAtMe(explosionEffect) EndEvent
  5. Hey! Sorry I haven't been active for a while; I was busy with exams and then I had a trip, so I didn't have much time. I hope it's OK if we pick up where we left off. In the first object/reference: Scriptname TestScript extends ObjectReference ObjectReference Property objectToTranslate auto Event onLoad() objectToTranslate.TranslateTo(Self.GetPositionX(), Self.GetPositionY() + 10, Self.GetPositionZ(), 0.0, 0.0, 0.0, 1.0) objectToTranslate.activate(Self) endEventIn the activated object/reference: Scriptname TestScript2 extends ObjectReference Explosion Property explosionEffect auto Event OnActivate(ObjectReference akActionRef) effect() EndEvent Function effect() Self.placeatme(explosionEffect) EndFunctionIt works in-game, but is this the best way of doing this?
  6. I think I'd try another practice before jumping into the next lesson,
  7. I tried the first method using the teleport script from earlier along with a script that teleports back on death ;Script A Scriptname TeleportScript extends Actor ObjectReference Property teleportLocation auto ObjectReference Property activatorObject auto Explosion Property explosionEffect auto Event OnActivate(ObjectReference akActionRef) If akActionRef == activatorObject placeatme(explosionEffect) moveto(teleportLocation) EndIf EndEvent ;Script B Scriptname TeleportOnDeath extends Actor TeleportScript Property tpScript auto Event OnDeath(Actor akKiller) moveto(tpScript.teleportLocation) EndEvent Which I adapted for the second method ;Script A Scriptname TeleportScript extends Actor ObjectReference Property teleportLocation auto ObjectReference Property activatorObject auto Explosion Property explosionEffect auto Event OnActivate(ObjectReference akActionRef) If akActionRef == activatorObject placeatme(explosionEffect) moveto(teleportLocation) EndIf EndEvent ;Script B Scriptname TeleportOnDeath extends Actor Event OnDeath(Actor akKiller) moveto((Self as TeleportScript).teleportLocation) EndEventIs this a practical use for these methods?
  8. Thanks for the feedback As for Utility, I vaguely recall seeing it somewhere else and I don't know why it has the Utility prefix.
  9. I also tried this but it seemed a bit glitchy and the Actor I was teleporting was fading in or not showing, even though I specified Self.enable(false) Scriptname TeleportScript extends Actor ObjectReference Property teleportLocation auto ObjectReference Property teleportLocation2 Auto ObjectReference Property activatorObject auto Explosion Property explosionEffect auto Event OnActivate(ObjectReference akActionRef) If akActionRef == activatorObject int i = 0 While(i <= 9) teleportAround(i) EndWhile EndIf EndEvent Function teleportAround(int i) Self.placeatme(explosionEffect) Self.disable() utility.wait(2.0) Self.enable(false) utility.wait(1.0) If(i % 2 == 0) Self.moveto(teleportLocation) Else Self.moveto(teleportLocation2) EndIf Self.placeatme(explosionEffect) EndFunction
  10. I tried your suggested topic and came up with this. It seems to work well. Scriptname TeleportScript extends Actor ObjectReference Property teleportLocation auto ObjectReference Property activatorObject auto Explosion Property explosionEffect auto Event OnActivate(ObjectReference akActionRef) If akActionRef == activatorObject Self.placeatme(explosionEffect) Self.moveto(teleportLocation) EndIf EndEventAnd then I tried to expand it a bit by adding a delay in the teleport and adding an explosion on the other end, which actually looked pretty cool Scriptname TeleportScript extends Actor ObjectReference Property teleportLocation auto ObjectReference Property activatorObject auto Explosion Property explosionEffect auto Event OnActivate(ObjectReference akActionRef) If akActionRef == activatorObject Self.placeatme(explosionEffect) Self.disable() utility.wait(2.0) Self.enable() Self.moveto(teleportLocation) Self.placeatme(explosionEffect) EndIf EndEvent
  11. I did actually read up on Papyrus functions beforehand, but they're really no different to other languages. Likewise with the events, so no confusion here. Yet.
  12. Ok, no problems with that. By the way, in Events, why is there often an ak before the name (like akActionReference)? Is this important or just common practice? Thanks.
  13. Ok, no problems with that script. Thanks.
  14. Okay, I've got it all set up. I've decided to use Sublime Text 2, since I already use it with other languages, if that's okay with you. The linked tutorials were helpful and I'm not really confused about anything for now. I don't have any preferences with regards to what we should cover, so whatever you feel is best. Thanks.
×