Keelan

Member
  • Content count

    16
  • Joined

  • Last visited


Community Reputation

6 Neutral

About Keelan

  • Rank
    Friend
  • Birthday November 29

Profile Information

  • Gender Not Telling

Recent Profile Visitors


494 profile views

Keelan's Activity

  1. Keelan added a topic in Recruitment   

    Writer (and scripter) looking to help
    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 replies
    • 276 views
  2. Keelan added a post in a topic [Student Thread] Keelan - Mattiewagg   

    Sorry it's been a while (almost a year :O)
    Int Function ToInteger(float f) return f.GetValue() EndFunction 
    • 0
  3. Keelan added a post in a topic [Student Thread] Keelan - Mattiewagg   

    That's fine. I'm ready for the next.
    • 0
  4. Keelan added a post in a topic [Student Thread] Keelan - Mattiewagg   

    No, it's fine.
    • 0
  5. Keelan added a post in a topic [Student Thread] Keelan - Mattiewagg   

    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 
    • 0
  6. Keelan added a post in a topic [Student Thread] Keelan - Mattiewagg   

    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?
    • 0
  7. Keelan added a post in a topic [Student Thread] Keelan - Mattiewagg   

    I think I'd try another practice before jumping into the next lesson,
    • 1
  8. Keelan added a post in a topic [Student Thread] Keelan - Mattiewagg   

    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?
    • 0
  9. Keelan added a post in a topic [Student Thread] Keelan - Mattiewagg   

    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.
    • 1
  10. Keelan added a post in a topic [Student Thread] Keelan - Mattiewagg   

    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 
    • 0
  11. Keelan added a post in a topic [Student Thread] Keelan - Mattiewagg   

    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 
    • 0
  12. Keelan added a post in a topic [Student Thread] Keelan - Mattiewagg   

    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.
    • 0
  13. Keelan added a post in a topic [Student Thread] Keelan - Mattiewagg   

    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.
    • 1
  14. Keelan added a post in a topic [Student Thread] Keelan - Mattiewagg   

    Ok, no problems with that script. Thanks.
    • 1
  15. Keelan added a post in a topic [Student Thread] Keelan - Mattiewagg   

    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.
    • 1