There have already been multiple threads on this topic but so far I have had no luck.
I have been trying to add a new ability for each player to my map which consists of a tiger tank or tiger ace.
I have tried the following;
Player_AddAbility(player, BP_GetAbilityBlueprint("tiger_tank_tow"))
Player_AddAbility(player, BP_GetAbilityBlueprint("tiger_tank"))
Player_AddAbility(player, tiger_tank)
I cannot get it to work. Does anyone know the scar command to add vehicle ability's as so far I cannot seem to get one to work. "Fatal Scar Error".
Thanks
Scar Commander Ability's
30 Jul 2014, 14:15 PM
#1
Posts: 7
30 Jul 2014, 15:36 PM
#2
5
Posts: 3421 | Subs: 11
Could you provide the full script?
30 Jul 2014, 18:32 PM
#3
Posts: 7
Not working
Working
For some reason that top one will not work.
Thanks again
Working
For some reason that top one will not work.
Thanks again
31 Jul 2014, 10:04 AM
#4
Posts: 7
Would be great if someone can provide a working code for the tiger_ace ability. I know it is possible as I have seen other posts where someone has the tiger ace ability as extra.
Thanks again
Thanks again
3 Aug 2014, 09:33 AM
#5
5
Posts: 3421 | Subs: 11
First of all, you should be using <mapname>.scar instead of <mapname>_ID.scar.
<mapname>.scar is now included in the exported package and it's pretty much the same as <mapname>_ID.scar, except that you have to create this file by hand and add the Init by yourself.
Here's an example:
And for the Tiger ace:
you need to apply the upgrade which is a requirement in the ticer ace ability:
<mapname>.scar is now included in the exported package and it's pretty much the same as <mapname>_ID.scar, except that you have to create this file by hand and add the Init by yourself.
Here's an example:
Code
function mymap_Init()
-- do stuff here
end
Scar_AddInit(mymap_Init)
And for the Tiger ace:
you need to apply the upgrade which is a requirement in the ticer ace ability:
Code
Player_CompleteUpgrade(player, BP_GetUpgradeBlueprint("tiger_tank_ace"))
Player_AddAbility(player, BP_GetAbilityBlueprint("tiger_tank_ace"))
3 Aug 2014, 15:30 PM
#6
Posts: 7
Thank you very much It is all working now.
19 Aug 2014, 12:19 PM
#7
Posts: 11
First of all, you should be using <mapname>.scar instead of <mapname>_ID.scar.
<mapname>.scar is now included in the exported package and it's pretty much the same as <mapname>_ID.scar, except that you have to create this file by hand and add the Init by yourself.
Here's an example:
Code
function mymap_Init()
-- do stuff here
end
Scar_AddInit(mymap_Init)
And for the Tiger ace:
you need to apply the upgrade which is a requirement in the ticer ace ability:
CodePlayer_CompleteUpgrade(player, BP_GetUpgradeBlueprint("tiger_tank_ace"))
Player_AddAbility(player, BP_GetAbilityBlueprint("tiger_tank_ace"))
Well I tried to add in your code and it worked fine (still using mapname_id.scar) but it is assigned to all players , russian and us forces , is it possible to assign it just to Wehrmacht or OKW ? I tried
Player_CompleteUpgrade(germanplayer, BP_GetUpgradeBlueprint("tiger_tank_ace"))
Player_AddAbility(germanplayer, BP_GetAbilityBlueprint("tiger_tank_ace"))
and did get a fatal error.
Maybe you could help me with this problem
PAGES (1)
1 user is browsing this thread:
1 guest
Livestreams
5 | |||||
305 | |||||
25 | |||||
9 | |||||
6 | |||||
4 | |||||
3 | |||||
3 | |||||
1 | |||||
1 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.600215.736+15
- 3.34957.860+14
- 4.1108614.643+9
- 5.305114.728+1
- 6.916405.693-2
- 7.273108.717+24
- 8.722440.621+4
- 9.261137.656+2
- 10.1041674.607-2
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1235
Board Info
741 users are online:
741 guests
0 post in the last 24h
8 posts in the last week
34 posts in the last month
8 posts in the last week
34 posts in the last month
Registered members: 49107
Welcome our newest member, Falac851
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Falac851
Most online: 2043 users on 29 Oct 2023, 01:04 AM