collapse

Author Topic: "pc is undefined" ... I'm Sorry What?  (Read 318 times)

Offline NateHevens

  • Annoying Noob
  • Neonate
  • **
  • Posts: 98
"pc is undefined" ... I'm Sorry What?
« 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?

Online argikt

  • Antediluvian
  • *****
  • Posts: 668
Re: "pc is undefined" ... I'm Sorry What?
« Reply #1 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)

Offline Barabbah

  • Majestic madness maker
  • Antediluvian
  • *****
  • Posts: 1540
Re: "pc is undefined" ... I'm Sorry What?
« Reply #2 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)?
"Some quotations," said Zellaby, "are greatly improved by lack of context."
― John Wyndham, The Midwich Cuckoos
"fuck the hole in the face"
― me

Offline NateHevens

  • Annoying Noob
  • Neonate
  • **
  • Posts: 98
Re: "pc is undefined" ... I'm Sorry What?
« Reply #3 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?

Offline Barabbah

  • Majestic madness maker
  • Antediluvian
  • *****
  • Posts: 1540
Re: "pc is undefined" ... I'm Sorry What?
« Reply #4 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.
"Some quotations," said Zellaby, "are greatly improved by lack of context."
― John Wyndham, The Midwich Cuckoos
"fuck the hole in the face"
― me

Offline NateHevens

  • Annoying Noob
  • Neonate
  • **
  • Posts: 98
Re: "pc is undefined" ... I'm Sorry What?
« Reply #5 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.