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

andrewmyles

Allies
  • Posts

    3
  • Joined

  • Last visited

andrewmyles's Achievements

Layman

Layman (1/11)

0

Reputation

  1. Okay, so I am trying to create a cheat menu for my mod, so I can choose many options by reading a book. Standard stuff. There are more than 10 options, so I need to make more than one menu. The last item in menu 1 is "next", which should bring the menu2, element 0 in menu2 is "previous", which would bring back menu1 and so for. The code looks something like that: Scriptname CheatBookScript extends ObjectReference Message Property Menu1 Auto Message Property Menu2 Auto Event OnRead() Menu1() EndEvent Function Menu1(int aibutton = 0) aibutton=Menu1.show() if aibutton==0 elseif aibutton ==1 ;options 2-8 here... elseif aibutton ==9 Menu2() EndIf EndFunction Function Menu2(int aibutton2 = 0) aibutton2=Menu2.show() if aibutton2==0 menu1() elseif aibutton2 ==1 ;options 2-8 here... elseif aibutton2 ==9 EndIf EndFunction Except, it doesn't work. When I click the "next" button, the game does nothing, staying in menu1. Why?
  2. Well, I haven't checked the factions yet, but is this the only way to make the creature non-hostile? I mean, if there is a command to make them automatically hostile, shouldn't be one to calm them...? When I spawn some of these creatures, like draugrs in-game, via console command, they often are non-hostile (not always) Also, on a completely unrelated note, it seems (some) of my posts need to go through some silly moderation. Wouldn't it be faster if they were not?
  3. I am trying to create a script that spawns a given actor at a given place. Everyting works well, but the spawned actors are always hostile towards me. I don't want that. In the ultra-simplified version of the script, I tried using .stopCombat() command, but it doesn;t work. Scriptname NewCellSpawnScript3 extends ObjectReference ActorBase Property NPC Auto ObjectReference Property SpawnMarker01 Auto Event OnActivate(ObjectReference akActionRef) SpawnMarker01.PlaceActorAtMe(NPC,1).StopCombat() EndEvent I've browsed lots of different commands on CK wiki, none of them seem to work. How to make the actor non-hostile towards the player?
×
×
  • Create New...