Search found 11 matches

by Baal7734
Wed Apr 13, 2016 7:08 am
Forum: Ren'Py Questions and Announcements
Topic: Call statement & arguement question[SOLVED]
Replies: 8
Views: 1472

Re: Call statement & arguement question

That worked. Thanks Xela! :)
by Baal7734
Wed Apr 13, 2016 6:51 am
Forum: Ren'Py Questions and Announcements
Topic: Call statement & arguement question[SOLVED]
Replies: 8
Views: 1472

Re: Call statement & arguement question

Don't create new contexts without a good reason to. Try: label Test(namevariable, topicvariable): call expression namevariable + "_" + topicvariable "It really does." return label Joe_Fishing: hide text with dissolve "You don't know anybody named Joe and fishing sucks"...
by Baal7734
Wed Apr 13, 2016 5:45 am
Forum: Ren'Py Questions and Announcements
Topic: Call statement & arguement question[SOLVED]
Replies: 8
Views: 1472

Re: Call statement & argument question

That's I can't guarantee this will work as I have no way of testing it atm but I would try it this way: init python: def Test(namevar,topicvar): return (namevar+'_'+topicvar) [...] "no": [...] $newlabel = Test('joe','fishing') call newlabel [...] label joe_fishing: "Fishing sucks.&quo...
by Baal7734
Wed Apr 13, 2016 4:26 am
Forum: Ren'Py Questions and Announcements
Topic: Call statement & arguement question[SOLVED]
Replies: 8
Views: 1472

Call statement & arguement question[SOLVED]

Here's what I'm trying to do. label start: show expression Text("{color=ff1200}Wanna talk to Joe about fishing?", size=50, yalign=0.1, xalign=0.5, drop_shadow=(2, 2)) as text menu: "yes": call Test(Joe, Fishing) return "no": hide text with dissolve show expression Text(...
by Baal7734
Wed Mar 16, 2016 5:05 pm
Forum: Ren'Py Questions and Announcements
Topic: NameError: name 'Characters' is not defined
Replies: 7
Views: 1811

Re: NameError: name 'Characters' is not defined

I figured out what is causing the issue, but I still don't know why. That error appears everytime I try to show a conditional switch image. Here's the image. image mom_MCeventscreen = ConditionSwitch( "mom_MCevent == 'MCjump2' and perk == True and interact_who == 'Mom' and mom_outfit == 'unifor...
by Baal7734
Wed Mar 16, 2016 3:07 pm
Forum: Ren'Py Questions and Announcements
Topic: NameError: name 'Characters' is not defined
Replies: 7
Views: 1811

Re: NameError: name 'Characters' is not defined

Anybody else have any ideas?
by Baal7734
Wed Mar 16, 2016 7:32 am
Forum: Ren'Py Questions and Announcements
Topic: NameError: name 'Characters' is not defined
Replies: 7
Views: 1811

Re: NameError: name 'Characters' is not defined

Force recompile didn't work.

I get that screen as soon as I click start.
by Baal7734
Wed Mar 16, 2016 6:41 am
Forum: Ren'Py Questions and Announcements
Topic: NameError: name 'Characters' is not defined
Replies: 7
Views: 1811

Re: NameError: name 'Characters' is not defined

label kitchen_intro: if kitchen_event_intro: show expression Text("Pick your Primary Attribute", size=50, yalign=0.5, xalign=0.5, drop_shadow=(2, 2)) as text with dissolve pause 1.5 hide text with dissolve menu Primary: "{color=ff1200}Physical{/color}": "You choose Physical...
by Baal7734
Wed Mar 16, 2016 6:11 am
Forum: Ren'Py Questions and Announcements
Topic: NameError: name 'Characters' is not defined
Replies: 7
Views: 1811

NameError: name 'Characters' is not defined

So I'm running into this NameError. The problem is, the only time the word Characters appears in my code are in reference to an image folder . For example, here's a line from a conditional switch: "char_event == 'library'", "Characters/Billy/base1/library.png", I've opened all sc...
by Baal7734
Tue Dec 08, 2015 4:44 pm
Forum: Ren'Py Questions and Announcements
Topic: using variables in image names
Replies: 2
Views: 453

Re: using variables in image names

No, more like dynamic variables and displayables. Let's say I have character joe, fred, and will in my game. Now lets say i have 2 variables for each character along with 2 images. I also have a floating variable. image joe happy = "joehappy.png" image joe sad = "joesad.png" $ jo...
by Baal7734
Tue Dec 08, 2015 2:50 pm
Forum: Ren'Py Questions and Announcements
Topic: using variables in image names
Replies: 2
Views: 453

using variables in image names

Is it possible to use a variable inside an image to easily use the same processes across multiple characters? Example image jack dry = "jackdry.png" image jack onfire = "jackonfire.png" image jack dead = "jackdead.png" image jill dry = "jilldry.png" image jill...