Jump to content

goal setting for both teams


Recommended Posts

Good Evening!

I want to make a goal that both teams can use, but I don't know the command, how to specify the parameters for a DEFEND_ goal, so that both teams take it into account. The same situation if I want to specify more than one value for the weapon property. True, in the latter case, it accepts it even if I specify the weapons separately, and not all at once. IS IT APPROPRIATE that the defend goal, for which setproperty_weapon someweapon gets a higher priority than 0.5?

Link to comment
Share on other sites

  • Moderators

Goals for both teams are enabled by Util.EnableGoal.

Weapon properties are used mainly for heavy weapons like panzerfaust and flamethrower. That's why they have higher priority so that soldiers prefer their specific goals. If you don't like default priorities, you can change them by SetGoalPriority.

Command /bot goal_setproperty weapon weapon_name is used to add a weapon to the list of permitted weapons. Command /bot goal_setproperty weapon clear is used to delete all weapons.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...