View unanswered posts | View active topics It is currently Mon Dec 30, 2024 9:56 pm



Reply to topic  [ 6 posts ] 
 A few questions on actors... 
Author Message
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post A few questions on actors...
From the title, Here is my list of questions about actors I would like to be answered:

1.If an actor is spawned from an emitter, is there a way to set what they do from their coding?

2.In the actor's code, there is something that says "Status = 0" What does the variable do?

3.The variable "AIMODE = 0", Can that also be used in an actor's coding? If so, where?


Sun Mar 23, 2008 11:49 pm
Profile
User avatar

Joined: Mon Oct 01, 2007 1:33 am
Posts: 374
Reply with quote
Post Re: A few questions on actors...
1. no, not in anyway what so ever.

2. I have no idea

3. I'm not sure but I think it means if it is always controlled by the AI, or if it is controlable (0= controlable)

For future reference: You're better off answering modding questions when you actually know something about modding.


Mon Mar 24, 2008 1:44 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: A few questions on actors...
In other news, bbbbzzzz is wrong on...all counts.

Quote:
1.If an actor is spawned from an emitter, is there a way to set what they do from their coding?

2.In the actor's code, there is something that says "Status = 0" What does the variable do?

3.The variable "AIMODE = 0", Can that also be used in an actor's coding? If so, where?


1. Yes, AIMode. It will set them to the different AI behaviours you can toggle on the pie menu. (to answer no 3)

2. Status controls odd things. Some values seem to not change anything, one makes the actor dead on arrival, and others just do strange things.


Mon Mar 24, 2008 2:03 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: A few questions on actors...
In the actor's code, where do place the AIMODE variable? And about the status variable: I set it on an ACrab for 3, and when it spawned from an emitter, its limbs where limp and didn't try to right itself. But when another ACrab came out with the same variable from the same emitter, it started walking around.


Mon Mar 24, 2008 2:39 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: A few questions on actors...
Variables can go just about anywhere in code. Order does not matter nearly as much as people think.

And, yeah. Status does stuff like that. It doesn't make much sense at all, so most people leave it alone.

I've seen it used in one mod, ever.


Mon Mar 24, 2008 2:42 am
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post Re: A few questions on actors...
Yay, it worked! I put the AIMODE variable set on 2 under the charheight variable, and as soon as the ACrabs spawned from their emitter, they started walking around. Also, why the heck are crab so horrible on terrain? thanks for the help Grif.


Mon Mar 24, 2008 2:56 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 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.091s | 13 Queries | GZIP : Off ]