OK, I'm new to modding and I need to know how to:
1. Make an NPC/creature appear on certain quests, in the same area. I'm doing an "Arena Upgrade" mod, so how do I? Example, player chooses "yes, i want to fight this team" and it should appear in the arena pit. Afterwards, after they die, their bodies disappear and the player chooses another team, and the new set appears. How do I?
2. What does short doOnce, duelActive do?
Help appreciated!
1. You'll need to place your NPCs in the arena, and attach a script to them that "hides" them until certain conditions are met. Something like this:
Begin viper_arena_npc_scriptif ( GetJournalIndex "viper_in_arena" == 10 ) Enableelseif ( GetDisabled == 0 ) DisableendifEnd
Then in the dialogue, you just need to include the line:
Journal "viper_in_arena" 10
This will update your journal, and relies on you creating a journal entry with the ID "viper_in_arena".
Alternatively, there are other ways of achieving this without the use of a journal entry, for instance by setting a global variable. How exactly would you prefer it to work?
2. Is this from a script in the original game or something? "short doOnce" is just a variable declaration, i.e. it's creating a variable "doOnce" to be used in a script. "duelActive" is probably a global variable to tell the game that a duel is active in the arena.