Quantcast
Channel: LeeFish - All Forums
Viewing all articles
Browse latest Browse all 3104

Getting a Sim's current salary

$
0
0
Waves. Hi all, been directed here by gummilutt - apparently you don't bite Smile

I'm trying to get the current salary for a Sim. I feel I am so close. I have their career object, I have their job level, I have found the following operand for the expression prim

Code:
Job Data [temp 0,1] salary

but I cannot figure or find out what temp0 and temp1 should be set to. I've guessed at career object id and job level (both ways round), but that only gave me an error (which I have foolishly deleted, hang on a sec while I rerun the game to get it back ... tum tee tum ...)

Code:
Error: Job data not found.
Iterations: 0
  Frame 3:
    Stack Object id: 69
    Stack Object name: JobData - Adult - Law Enforcement
    Node: 10
    Tree: id 4358 name 'Sub - Get Salary of P0 in T0 - TODO' version -32759
    from SIMPE_TICKETPAD_CRES
    Prim state: 0
    Params: 227    Locals: 227 184 3 0 0

Any pointers gratefully received

William

Viewing all articles
Browse latest Browse all 3104

Trending Articles