Code:
Problem description:I don't think you really need the code, so I'll just explain the problem. I have a obj projectile, and whenever it goes into a tile that has Entered() on it for players, it creates a bunch of runtime errors. I'm assuming it's because the Entered() edits variables for clients, and since it's an object entering it, it freaks out. How could I avoid this?
Apr 4 2014, 10:36 am (Edited on Apr 4 2014, 12:09 pm)
|
|
Make it so before any var is changed it checks if the atom is a mob.
|
In response to Eternal_Memories
|
|
usr isn't valid in Entered(), especially for projectiles.
|
In response to Kaiochao
|
|
Kaiochao wrote:
usr isn't valid in Entered(), especially for projectiles. Well, he just has to replace the usr with whatever he defined the atom that enters |
In response to Eternal_Memories
|
|
Right, so why is usr still there? Fix your post so people don't see it.
|
Usr Unfriendly: http://www.byond.com/forum/?post=35932
|