Mod articles

  • API Reference

    VERTICALL 4 SETTLEMENTS API REFERENCE

    FormIDs

    Settlement Landing Pad (Type 1): 0x1
    Settlement Landing Pad (Type 2): 0x41
    Settlement Landing Pad (Type 3): 0x43
     
    VertiCall Console (Floor Standing): 0x4


    Form acquisition and ObjectReference spawning:

    ; Get Landing Pad form
    Form landingPadForm = Game.GetFormFromFile(0x1, "VertiCall4Settlements.esp") as Form
    ; spawn objectref
    SVCL:LandingPad landingPadRef = PlaceAtMe(landingPadForm, 1, true, true, false) as SVCL:LandingPad
    ; reflink pad to workshop
    landingPadRef.SetLinkedRef(<localWorkshopReference>, WorkshopItemKeyword)
    ; enable pad
    landingPadRef.Enable()


    ; Get Console form
    Form consol...