Jump to content
Sign in to follow this  
Snicke

Lip moves

Recommended Posts

Is there anyway I can get the lips to move, so that I can pretend a person is chatting. And use sidechat or hint for the text. Tried looking for one in the 'playmove' but none where useful.

And one more question. If I make a person with a placement radius. How can I make a waypoint or a trigger on him when I get close to him? Ex. I want a mission where Im searching for a random placed person, and want a trigger when I find him.

Share this post


Link to post
Share on other sites

For the placement radius thing:

create a trigger in the editor with the condition:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player distance unitName > 50

with unitName being the name of the unit to find.

Another solution would be to permanently check what the player knows about the unit with a trigger too:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player knowsAbout unitName > 0.5

Share this post


Link to post
Share on other sites

An okei way to do it. But I cant get your sample to work. 'Type Boll, expected nothing.'

Share this post


Link to post
Share on other sites

Which one do you mean? Could you post what you did?

Look in the Biki for the syntax of distance and knowsAbout.

I have made a mistake with the knowsAbout, it has values between 0 to 4 so rather use:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">player knowsAbout unitName > 2

You should also read hardrock's comment about knowsAbout in the Biki.

Share this post


Link to post
Share on other sites

Ahh.. Thanx.. got it to work.

Can you help me with this too. Im placing a crate on the map. And want the other player (opfor) to know about it, but not player one. (bluefor) How can I do that?

Share this post


Link to post
Share on other sites

No way to delete own post? *sigh*

Share this post


Link to post
Share on other sites
Ahh.. Thanx.. got it to work.

Can you help me with this too. Im placing a crate on the map. And want the other player (opfor) to know about it, but not player one. (bluefor) How can I do that?

If you are talking about AI you can reveal the ammo box to the opfor unit reveal

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">opfor_unit reveal ammo_box

But I am not sure if reveal works on empty objects.

If both units are human you could place a marker...

Share this post


Link to post
Share on other sites

Anybody got any ideas on the front end of this question? Getting the lips to move without them actually saying anything, just to appear that they are talking for a certain amount of time?

Thanks!

Rick

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×