You are not logged in.
Pages: 1
var int version=0;
func testvers(void)
{
dmsg "PC demo or Mac"
version = 1
if(li_center_cursor)
{
dmsg " "
dmsg " "
dmsg " "
dmsg " "
dmsg PC
version = 2
}
}
There. Pretty self explanitory. Though somebody has probaly done this before me, here it is. I am sure you guys can think of a creative way to use it (maybe combining the Mac and PC OTA versions into one script, so you don't have to go hunting for versions?)
Also, could someone with a Mac check this (just in case)?
Last edited by Gumby (06/09/08 16:06)
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
Pretty interesting. Thanks a lot Gumby!
Also the variables like li_center_cursor and env_collision are called by engine, right?
Thanks.
Offline
Huh did I copy something wrong? I copied everything in exactly into a bsl file but it doesnt work. Am I supposed to add anything?
"It is not hatred but indifference that will destroy us." -Unknown
"One death is a tragedy. The death of a million is a statistic" -Joseph Stalin
Offline
Make sure the fork is going in the right place.
Or, just temporarily move all of your bsl files in one of the levels away and replace it with the attached file.
@Script10000
Yes, those are set by the engine by default.
...Hmm. I may have made a mistake with the coding. I thought that my if statement thing worked. I guess not. >_>
I fixed it. And removed Mac beta 4. Really, who uses it?
...as long as Mac beta =/= Mac retail *cough*
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
tried it... all it says is PC or Mac
"It is not hatred but indifference that will destroy us." -Unknown
"One death is a tragedy. The death of a million is a statistic" -Joseph Stalin
Offline
You are running a Mac or the PC demo then. Correct?
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
You are running a Mac or the PC demo then. Correct?
Im running a mac... Not a demo though... Huh???
"It is not hatred but indifference that will destroy us." -Unknown
"One death is a tragedy. The death of a million is a statistic" -Joseph Stalin
Offline
I mean Mac (retail) OR PC (demo). They have the same engine limitations. PC (retail) has a bit more scripting features.
Last edited by Gumby (06/10/08 09:06)
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
I mean Mac (retail) OR PC (demo). They have the same engine limitations. PC (retail) has a bit more scripting features.
Yeah I have a Mac (retail).
"It is not hatred but indifference that will destroy us." -Unknown
"One death is a tragedy. The death of a million is a statistic" -Joseph Stalin
Offline
Ok. Then the script worked.
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
Pages: 1