View unanswered posts | View active topics It is currently Tue Apr 23, 2024 11:36 pm



Reply to topic  [ 3 posts ] 
 Focus on Actor 
Author Message
User avatar

Joined: Sun May 31, 2009 1:04 am
Posts: 308
Reply with quote
Post Focus on Actor
I can't remember. Is there a way to make your screen focus on a single actor though lua? That is, force to controller to select a specific actor.


Tue Nov 08, 2011 12:58 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13143
Location: Here
Reply with quote
Post Re: Focus on Actor
Code:
ActivityMan:GetActivity():SwitchToActor(actor,player,teamOfActor);


Tue Nov 08, 2011 1:02 am
Profile
User avatar

Joined: Sun May 31, 2009 1:04 am
Posts: 308
Reply with quote
Post Re: Focus on Actor
CaveCricket48 wrote:
Code:
ActivityMan:GetActivity():SwitchToActor(actor,player,teamOfActor);

Thanks Cave :grin:

*Edit*
In my prior attempts to try to do this, I found a way to control more than one actor at a time. Weird :0


Tue Nov 08, 2011 1:03 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.092s | 15 Queries | GZIP : Off ]