Changing target priority/attention through criticals.
12 Oct 2017, 05:25 AM
#1
Posts: 327
As the title states, I need a bit of help with making enemy units on auto-fire not/not want to target a unit with a certain critical. I've tried this with modifiers, but the only modifier I can find is target_priority_squad (I tried applying it to a single entity, im not sure its worked, looks like it hasn't). I haven't found anything else that could possibly do this. Any modding pro's willing to lend a hand?
12 Oct 2017, 13:57 PM
#2
Posts: 2636 | Subs: 17
Off the top of my head, you're looking for something called weapon_prereq_action or something. You can find the precise name of the action used under the prioritise vehicles ability.
Within that ability, you can certainly specify the unit types to allow (or disallow) from targeting. It might also be possible to add a critical_requirement option, but I've never tried.
If there's something in the game that does what you're looking for, it's probably that action.
Within that ability, you can certainly specify the unit types to allow (or disallow) from targeting. It might also be possible to add a critical_requirement option, but I've never tried.
If there's something in the game that does what you're looking for, it's probably that action.
13 Oct 2017, 10:26 AM
#3
Posts: 245
@ Mr Smith: I used this function "weapon_prereq_action "in my mod and it is works very good but this stop working when you add to the squad slot items like bazookas or weapon upgrades.
I tryied many times to fix it but I failed. I dont know why
Regards
Olhausen
I tryied many times to fix it but I failed. I dont know why
Regards
Olhausen
14 Oct 2017, 01:30 AM
#4
Posts: 327
Aye, I tried that and it has no effect. This is meant to be done on the unit that you don't want to shoot, not the unit you don't want to be shot. Since its a critical, all actions have to be applied to the unit with the critical, not units firing at the unit with the critical. Maybe there's some way to do it with Scar, but im not sure.
PAGES (1)
1 user is browsing this thread:
1 guest
Livestreams
27 | |||||
3 | |||||
20 | |||||
17 | |||||
9 | |||||
3 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.34957.860+14
- 3.589215.733+4
- 4.1101614.642+2
- 5.305114.728+1
- 6.916405.693-2
- 7.271108.715+22
- 8.721440.621+3
- 9.1041674.607-2
- 10.17146.788+1
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1231
Board Info
817 users are online:
1 member and 816 guests
litianyu0707
litianyu0707
1 post in the last 24h
8 posts in the last week
38 posts in the last month
8 posts in the last week
38 posts in the last month
Registered members: 49081
Welcome our newest member, kavyashide
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, kavyashide
Most online: 2043 users on 29 Oct 2023, 01:04 AM