- Aug 28, 2018
- 1,896
- 2,877
again indented. Is this how your code looks in the script file or is it just unindented because of copy n paste?
Nothing in this part of the code should jump to the main screen so I guess it's another part of the code, or the intendation.
Watch the different style:
How it looks in your code:
The same code how it should look:Code:label yourlabel: somefancystuff $ somevar = also_indented label your_new_label: somefancystuff
The content of a label must be indented.Code:label mylabel: somefancystuff $ somevar = also_indented label my_new_label: somefancystuff
The content of a query must be indented.Code:label content label content
and so on.Code:if do something elif do something else do something else
Here is the content that is getting borked:
Code:
label ep2_sexanimation:
# Parameters are :
# - Base to build the animation name, where the "{}" mark
# the place where text will be inserted. The first one is for
# the sexual position, the second one for speed.
# - List for the positions. You have two, so there's two
# values, but you can have as many as you want.
# - List for the speeds. Here again there's the two
# already defined in OP, but there can be more.
# To note, the first one is an empty string, since there's
# nothing to add to the name animation.
# All this being called, so can be reused anywhere and anytime.
# It just need a change in the parameters to have something
# completely different.
call sex_interface( "ep2_mc_shane_{}{}", [ "doggy", "side_sex" ], [ "", "_fast" ] )
# Here is the jump initially used in OP
if _return == 0:
jump ep2_doggy_cumming
elif _return == 1:
jump ep2_side_cumming
"FINISHED"
return
Code:
label ep2_doggy_cumming:
scene bg ep2 doggy cumming with hpunch
$ renpy.pause (5.0) # will wait 5 sec or player's click to continue
jump ep2_after_sex
label ep2_side_cumming:
scene bg ep2 side cumming with hpunch
$ renpy.pause (5.0) # will wait 5 sec or player's click to continue
jump ep2_after_sex
label ep2_after_sex:
scene bg ep2 shane sleep wake
$ renpy.pause (5.0) # will wait 5 sec or player's click to continue