If staments in Result Dialogue

Post » Sun May 01, 2011 1:44 pm

In need to do same as following:

if ( SpeakerID == "ronda nyme" )
"ronda ynime"-> removeitem "myr_snakejewel_g_sh" 1
elseif ( SpeakerID == "renata saas" )
"renata saas"-> removeitem "ko_black_sheith" 1
endif

Best Regards.
User avatar
Lucy
 
Posts: 3362
Joined: Sun Sep 10, 2006 4:55 am

Post » Sun May 01, 2011 5:00 pm

can't you just make the same dialog twice with one time the first speaker ID and the corresponding result, and the second time the other ones.
User avatar
Tessa Mullins
 
Posts: 3354
Joined: Mon Oct 22, 2007 5:17 am

Post » Sun May 01, 2011 10:49 pm

you can't do if statements in the results box.
User avatar
daniel royle
 
Posts: 3439
Joined: Thu May 17, 2007 8:44 am

Post » Sun May 01, 2011 2:02 pm

You can. I did, several times. It works. Separate NPCs, though, are indeed much easier to handle through separate lines.
User avatar
Kira! :)))
 
Posts: 3496
Joined: Fri Mar 02, 2007 1:07 pm


Return to III - Morrowind

cron