|
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Author |
Message |
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Mac crashing.
I have a mod.
See the thread on what it does.
Anyway, to be specific, this works by when the zombie dies, it takes everything in a 200 px distance and adds it to a global list.
And gives it an item which when is checked for before adding to the list.
An emiter floating around somewhere(I call it the GCM) then reads the list, subtracts health and spawns two zombies, deleting the actor from the list when the listed thing dies.
The emitter is spawned by checking a variable and spawning if it is nil. Just as a failsafe, the emiter selfdestructs on creation if it detects that the variable is not nil.
The zombies just use the Mother Crab code to jump around.
The issue is that macs experience unexplained crashing.
Last edited by mail2345 on Tue May 19, 2009 11:23 pm, edited 1 time in total.
|
Tue May 19, 2009 7:19 am |
|
|
Daman
Joined: Fri Jan 26, 2007 3:22 am Posts: 1451
|
Re: Mac crashing.
mail2345 wrote: Just as a failsafe, the emiter selfdestructs on creation if it detects that the variable is not nil. That's probably why.
|
Tue May 19, 2009 1:46 pm |
|
|
mail2345
Joined: Tue Nov 06, 2007 6:58 am Posts: 2054
|
Re: Mac crashing.
Here's the code for that: Code: if _GCMR == true then self.Lifetime = 2 end _GCMR = true
So, how would I fix it?
|
Tue May 19, 2009 11:22 pm |
|
|
Daman
Joined: Fri Jan 26, 2007 3:22 am Posts: 1451
|
Re: Mac crashing.
Alright well comment sections out, etc, until it stops crashing. That's the best route of debugging.
|
Wed May 20, 2009 1:35 am |
|
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|