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
108 | |||||
70 | |||||
39 | |||||
22 | |||||
19 | |||||
5 | |||||
1 | |||||
486 | |||||
35 | |||||
27 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.968562.633+23
- 2.555227.710+11
- 3.29446.865-1
- 4.275110.714+13
- 5.259143.644+3
- 6.250150.625+11
- 7.22491.711+11
- 8.19265.747+5
- 9.670423.613+6
- 10.5611.836+3
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
7
Download
742
Board Info
549 users are online:
1 member and 548 guests
Kronosaur0s
Kronosaur0s
0 post in the last 24h
20 posts in the last week
133 posts in the last month
20 posts in the last week
133 posts in the last month
Registered members: 45006
Welcome our newest member, Bean
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Bean
Most online: 2043 users on 29 Oct 2023, 01:04 AM