View unanswered posts | View active topics It is currently Thu Dec 26, 2024 5:50 pm



Reply to topic  [ 5 posts ] 
 Actor inside craft 
Author Message
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Actor inside craft
Is there any command to know if an actor is inside a craft?


Sun Apr 10, 2011 5:03 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post 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.


Sun Apr 10, 2011 5:08 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post 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?


Sun Apr 10, 2011 5:15 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: Actor inside craft
Both methods would work.


Sun Apr 10, 2011 5:40 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Actor inside craft
Ok, thanks!


Sun Apr 10, 2011 5:42 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.063s | 13 Queries | GZIP : Off ]