Search found 3890 matches

by Mogri
Tue Jan 26, 2010 8:11 pm
Forum: Game Discussion
Topic: Question on NPCs creating other npcs
Replies: 11
Views: 2057

Remember that parentheses are just a special way of saying "begin" and "end." This works just the same:

Code: Select all

if, begin, 2 + 3 == infinity, end, then
With that in mind, it makes sense that an extra comma after your parenthesis doesn't matter.
by Mogri
Tue Jan 26, 2010 5:06 pm
Forum: Game Discussion
Topic: Question on NPCs creating other npcs
Replies: 11
Views: 2057

Any, two, separate, tokens, in, HamsterSpeak, can, be, separated, by, linebreaks, or, commas.

You
can
make
your
script
really
hard
to
read.
by Mogri
Fri Jan 22, 2010 7:26 pm
Forum: Game Discussion
Topic: Learning Python
Replies: 2
Views: 913

Sure, I'd be at least vaguely interested.
by Mogri
Fri Jan 22, 2010 12:18 am
Forum: General Discussion
Topic: Be a Man
Replies: 14
Views: 5579

Is that the black character with a chocobo in his afro from FFXIII?
by Mogri
Thu Jan 21, 2010 7:08 pm
Forum: General Discussion
Topic: Be a Man
Replies: 14
Views: 5579

Nice catch. I didn't bother reading the page.

Ker-banned! Feel free to talk about MUSCLE MARCH here.

Also, this should be in Gen Disc anyway.
by Mogri
Thu Jan 21, 2010 6:23 pm
Forum: General Discussion
Topic: Be a Man
Replies: 14
Views: 5579

I noticed that as well, but the link in his signature doesn't actually go anywhere. His posts are varying degrees of intelligible; if he continues to spam, I'll just delete his posts and ban him.

Are you listening, sammy?
by Mogri
Thu Jan 21, 2010 3:45 am
Forum: Game Discussion
Topic: Lockup Problem from a custom menu
Replies: 2
Views: 881

There's a menu bitset to prevent cancel from closing the menu. It sounds like the problem is in your script otherwise.
by Mogri
Wed Jan 20, 2010 6:09 pm
Forum: Game Discussion
Topic: Sprite Scripting Woes
Replies: 4
Views: 991

Are you intentionally loading a new sprite each time?
by Mogri
Tue Jan 19, 2010 9:35 pm
Forum: Game Discussion
Topic: Pac-man?
Replies: 8
Views: 2307

That's not really like Pac-Man at all.

Anyway, you don't need a script to do that. Set the NPC's activation to "on step" and make it disappear once collected.
by Mogri
Tue Jan 19, 2010 5:36 am
Forum: Game Discussion
Topic: Needing a way to get into my old passworded game.
Replies: 1
Views: 863

Yeah. James will usually unpassword your game for you, as will TMC. It's also really easy to compile your own password-free OHR if you know a little about programming.
by Mogri
Mon Jan 18, 2010 9:49 pm
Forum: Game Discussion
Topic: Spawning Enemies Question
Replies: 3
Views: 1480

NPCs: Check npc at spot, easy.

Heroes: Iterate through the heroes and verify that (powerx == herox(who) && powery == heroy(who)) == false for each one.
by Mogri
Mon Jan 18, 2010 8:09 pm
Forum: Game Discussion
Topic: Spawning Enemies Question
Replies: 3
Views: 1480

If you want any square that does not have all four walls to be legal, all you have to do is this: while &#40;read pass block&#40;powerx, powery&#41; <> &#40;north wall + south wall + east wall + west wall&#41;&#41; do &#40; If you want to verify that the NPC isn't walled ...
by Mogri
Thu Jan 14, 2010 6:48 pm
Forum: Front Page
Topic: OHR Game of the Year 2009
Replies: 22
Views: 9120

You voted for it in two categories.
by Mogri
Wed Jan 13, 2010 7:48 pm
Forum: Game Discussion
Topic: Problems with a "knockback effect"
Replies: 5
Views: 1334

Meatballsub wrote:Also, it seems to be pushing npcs through walls, and I don't have obstruction or npc walls suspended. :???:
You're doing pixel movement and you're not checking walls. Pixel movement cares nothing for obstruction.
by Mogri
Mon Jan 11, 2010 4:26 pm
Forum: Game Discussion
Topic: Decrementing a variable during an on key press script
Replies: 4
Views: 1127

Slight problem with James's code: if&#40;key is pressed&#40;45&#41; && stamina key==false&#41; then&#40; stamina key &#58;= true # the rest of the stuff that happens for stamina &#41;else&#40; if &#40;key is pressed&#40;45&#41; == false&#41; th...