Data Realms Fan Forums
http://45.55.195.193/

Actor inside craft
http://45.55.195.193/viewtopic.php?f=73&t=22503
Page 1 of 1

Author:  Asklar [ Sun Apr 10, 2011 5:03 am ]
Post subject:  Actor inside craft

Is there any command to know if an actor is inside a craft?

Author:  CaveCricket48 [ Sun Apr 10, 2011 5:08 am ]
Post subject:  Re: Actor inside craft

You can to use actor:Inventory() to get the first item in an actor's inventory. Then just check if it's an actor or not.

Author:  Asklar [ Sun Apr 10, 2011 5:15 am ]
Post subject:  Re: Actor inside craft

Can I make a particle check if the craft has a determined actor inside it or do I have to attach the script to the craft?

Author:  CaveCricket48 [ Sun Apr 10, 2011 5:40 am ]
Post subject:  Re: Actor inside craft

Both methods would work.

Author:  Asklar [ Sun Apr 10, 2011 5:42 am ]
Post subject:  Re: Actor inside craft

Ok, thanks!

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/