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 | |||||
12 | |||||
7 | |||||
6 | |||||
3 | |||||
1 | |||||
1 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.655231.739+15
- 2.842223.791+5
- 3.35157.860+16
- 4.599234.719+7
- 5.934410.695-1
- 6.278108.720+29
- 7.307114.729+3
- 8.645.928+5
- 9.10629.785+7
- 10.527.881+18
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
11
Download
1259
Board Info
693 users are online:
693 guests
0 post in the last 24h
12 posts in the last week
24 posts in the last month
12 posts in the last week
24 posts in the last month
Registered members: 49852
Welcome our newest member, vn88company
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, vn88company
Most online: 2043 users on 29 Oct 2023, 01:04 AM