PlanetVampire.com Forum

Vampire the Masquerade: Bloodlines => Bloodlines Tech Support => Topic started by: NateHevens on August 29, 2019, 12:02:18 am

Title: "pc is undefined" ... I'm Sorry What?
Post by: NateHevens on August 29, 2019, 12:02:18 am
So I'm replaying Clan Quest. For some reason, even though I blackmailed him, the Doc didn't get me the money. So I just figured I would use "pc.MoneyAdd(50)" to it ($50 specifically).

According to the console, "pc is undefined"...

What? How is that possible? Isn't "pc" kind of important? Why would it suddenly be undefined?
Title: Re: "pc is undefined" ... I'm Sorry What?
Post by: argikt on August 29, 2019, 06:35:50 am
pc is a variable, sometimes when a map is loaded it isn't defined.

Try:
pc = __main__.FindPlayer()
pc.MoneyAdd(50)
Title: Re: "pc is undefined" ... I'm Sorry What?
Post by: Barabbah on August 29, 2019, 04:43:36 pm
By the way, the bribe should be sent to your mail address or, in the latest UP versions, in the Mercurio apartments (in order to avoid retaliations). Have you checked those places (after a while you blackmailed him)?
Title: Re: "pc is undefined" ... I'm Sorry What?
Post by: NateHevens on August 29, 2019, 05:37:17 pm
By the way, the bribe should be sent to your mail address or, in the latest UP versions, in the Mercurio apartments (in order to avoid retaliations). Have you checked those places (after a while you blackmailed him)?

Yeah I checked. Also I wasn't aware of any retaliation? That's a thing that could happen?
Title: Re: "pc is undefined" ... I'm Sorry What?
Post by: Barabbah on August 29, 2019, 06:04:27 pm
No, it was just observed anyone living in a dump like the haven in Santa Monica would try to mantain a low profile specially when you start to make some enemies. Only for the sake of realism.
Title: Re: "pc is undefined" ... I'm Sorry What?
Post by: NateHevens on August 29, 2019, 06:10:09 pm
No, it was just observed anyone living in a dump like the haven in Santa Monica would try to mantain a low profile specially when you start to make some enemies. Only for the sake of realism.

Ah okay. That makes sense.
SimplePortal 2.3.7 © 2008-2020, SimplePortal