svaucher
Veteran

I've managed to get a character to pick fights with others (one-on-one) in a tavern. I haven't been able to get a brawl going.
DUEL (works)
For the duel, I use the following instructions with the unofficial editor:
I assume that the first parameter of set_visitor is the index of the spawn_record.
For dualling mission template, I configure it as an arena fight. Two spawn records with the position of the fighting characters. (in tavern player at entry 0, adversary at entry 2). Of course without a horse.
This works fine. The only frustrating things seems to be that I cannot send parameters to my dueling script. I can only use global variables. I wanted to pass the scene, positions and success/failure scripts to the dueling script. I found that you cannot pass register information, only the variables.
BRAWL(doesn't work)
I set the mission template to use scene characters, but then I'm stuck with the NPCs not attacking me and being friendly. Out of frustration, I have fun killing them with head shots. Oh, yes, I specify a different team for them (1 for me, 2 for the,).
Any hints anyone? I've spent a few hours on this one (granted, it's not that long, but the answer might help others in my situation).
cheers,
sv
DUEL (works)
For the duel, I use the following instructions with the unofficial editor:
Code:
modify_visitors_at_site(<tavern>)
reset_visitors()
set_visitor(0,0)
set_visitor(1,<troop>)
set_jump_mission(mst_duel)
jump_to_scene(<tavern>)
For dualling mission template, I configure it as an arena fight. Two spawn records with the position of the fighting characters. (in tavern player at entry 0, adversary at entry 2). Of course without a horse.
This works fine. The only frustrating things seems to be that I cannot send parameters to my dueling script. I can only use global variables. I wanted to pass the scene, positions and success/failure scripts to the dueling script. I found that you cannot pass register information, only the variables.
BRAWL(doesn't work)
Code:
set_visitor(0,0)
set_jump_mission(mst_brawl)
jump_to_scene(<tavern>)
I set the mission template to use scene characters, but then I'm stuck with the NPCs not attacking me and being friendly. Out of frustration, I have fun killing them with head shots. Oh, yes, I specify a different team for them (1 for me, 2 for the,).
Any hints anyone? I've spent a few hours on this one (granted, it's not that long, but the answer might help others in my situation).
cheers,
sv