Jump to content

Photo

Scripting help


  • Please log in to reply
1 reply to this topic

#1
IronPlatypus

IronPlatypus

    Journeyman

  • Members
  • Pip
  • 29 posts

I'm working on a total conversion and ran into some problems scripting the character generation. Here's the script;
 
scn chargenarena
 
begin gamemode
 
player.moveto 17833097
setinchargen 1
StopQuest Tutorials
setstage chargen01 1
 
end
 
begin gamemode
 
if getstage chargen01 == 1
showracemenu

setstage chargen01 2
endif
 
end
 
begin gamemode
 
if getstage chargen01 == 2
showbirthsignmenu
setstage chargen01 3
endif
 
end
 
begin gamemode
 
if getstage chargen01 == 3
showclassmenu
setinchargen 0
setstage chargen01 4
endif
 
end

 

Now, it works perfectly, I teleport to the correct reference, the race menu shows up, and then... nothing. The birthsign menu never shows up, I'm stuck there. Can anyone help me? Thanks in advance. 



#2
Hickory

Hickory

    Indigenous species

  • Premium Member
  • 8,123 posts

You have multiple GameMode blocks in the same script.  You can only have, and only need one.  All of your conditionals should be in the same GameMode block.






Page loaded in: 1.550 seconds