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
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.615222.735-2
- 3.35057.860+15
- 4.1110614.644+11
- 5.276108.719+27
- 6.306114.729+2
- 7.918405.694+2
- 8.262137.657+3
- 9.722440.621+4
- 10.1041674.607-2
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1236
Board Info
814 users are online:
814 guests
0 post in the last 24h
5 posts in the last week
33 posts in the last month
5 posts in the last week
33 posts in the last month
Registered members: 49138
Welcome our newest member, trevinehickman
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, trevinehickman
Most online: 2043 users on 29 Oct 2023, 01:04 AM