![]() |
The Black Wyrm's Lair Terms of Use |
![]() ![]() ![]() ![]() |
![]() |
![]() ![]()
Post
#1
|
|
![]() Retired team member Posts: 490 Joined: 8-April 08 From: U.S.A ![]() |
Alright, here's my problem:
I have written out the dialogue file for an NPC following the instructions of a tutorial. Everything (to me anyway) looks like it's in place, but WeiDU keeps stopping the install when it runs into commands such as "DO" and "EXIT". If I remove the first one, it will get a little further and stop at the next. I have no idea why this happens (as I'm a total newbie to this). I'd post my code into a PM for someone who wants to see it (and help, not just see it!!!) Thanks, Carnifex -------------------- "Once the game is over, the king and the pawn go back into the same box." - Italian Proverb
"I like criticism, but it must be my way." - Mark Twain "A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort." - Herm Albright |
|
|
![]() |
![]()
Post
#2
|
|
![]() Contributor Posts: 57 Joined: 6-April 05 From: Czech Republic ![]() |
EXIT and DO actions can not be used within the SAY line.
IF ~~ THEN BEGIN 7 SAY ~Insert text here.~ IF ~~ THEN DO ~SetGlobal("HalboJoined","LOCALS",1) JoinParty()~ EXIT END IF ~~ THEN BEGIN 8 SAY ~Insert text here.~ IF ~~ THEN EXIT END IF ~~ THEN BEGIN Comeback2 SAY ~Insert text here.~ IF ~~ THEN DO ~SetGlobal("HalboJoined","LOCALS",1)JoinParty()~ EXIT END This post has been edited by Razfallow: Apr 19 2008, 07:15 PM |
|
|
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 29th August 2025 - 10:59 AM |