Jump to content
Sign in to follow this  
Smoerble

Set a unit's description with script or in init field?

Recommended Posts

hi all,

I want to change a unit's description value with a code. So in the editor, a unit has a name and a description field. there is a function to change the name, example:

player setName "New Name";

but I need this for the description field. There is not "setDescription" function, now I wonder, how to SET the unit's description? (there is a getDescription function: https://community.bistudio.com/wiki/getDescription )

Anyone has an idea please?

Share this post


Link to post
Share on other sites

first im verry sorry its urgent, how can i make a question thread?

i am editing my arma3 mission

need help to "set trigger" from "sector control" so that it will create waypoint to certain unit

ex: ( control sector Alpha captured by Blufor ) - ( after that at another place "when that sector Alpha captured" a car with assigned waypoint will start moving )

im using "seized by trigger" to "game logic area" not working, or.. what should i do?

please.

i already know how create and run the sector control and know some basic editing.

once again sorry to ask this on your thread

thanks for your understanding.

Share this post


Link to post
Share on other sites

Febriannas don't spam other threads. This probably hasn't been answered because it's not possible. Even I looked everywhere and couldn't find anything.

Also, I don't think getDescription does what you think it does. getDescription returns an array of 4 strings with what the character is wearing, so you could make a unit wear different clothes, which would make his getDescription change. But that's not what you're asking about.

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  

×