Welcome to
Mod The Sims
Online: 2317
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 2 (Who?), Viewed: 1516 times.
Search this Thread
Old 21st Oct 2005, 1:44 PM DefaultDay check OpCode #1
Daan1302
Original Poster

Lab Assistant

Join Date: Nov 2004
Posts: 91
Thanks: 38 in 2 Posts
3 Achievements


Whats the opcode to check if it's Friday, or Monday?
I'd really appreciate knowing that! It's essential to my new hack!

Thanks in advance!

MTS2 rocks my socks!

<Inge> is the truth always "cool"?
<Inge> a thing isn't true just cos it's interesting
<tracyshayne> Hi, Inge...you talking to yourself over there?
A quote from the MTS2 chat!
Old 21st Oct 2005, 1:50 PM #2
Inge Jones
Mad Poster

Join Date: Sep 2004
Posts: 6,899
Thanks: 7475 in 19 Posts
18 Achievements


I found this [prim 0x0002] Expression (Global 0x0022 (Day Of Week) == literal 1)

But I am not sure which day is represented by which number - whether it starts from 0 or 1 or whether Sunday or Monday

02: 22 00 03 00 00 02 06 07

simlogical
Please do not PM me with questions about modding. Please post in an appropriate forum and send me a link to the thread if you would like me to try and help.
Old 21st Oct 2005, 2:57 PM #3
Daan1302
Original Poster

Lab Assistant

Join Date: Nov 2004
Posts: 91
Thanks: 38 in 2 Posts
3 Achievements


Thanks! My older OpCode I created myself was based on an InSIMinator code to change the day, which I made to check if it IS that day. I'll try both!
Also, weekday that starts in TS2 is Monday, with the hex number being 0x0

Thanks!

MTS2 rocks my socks!

<Inge> is the truth always "cool"?
<Inge> a thing isn't true just cos it's interesting
<tracyshayne> Hi, Inge...you talking to yourself over there?
A quote from the MTS2 chat!
Last edited by Daan1302 : 21st Oct 2005 at 3:19 PM.
Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.