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)
0 user is browsing this thread:
Livestreams
38 | |||||
29 | |||||
13 | |||||
1699 | |||||
241 | |||||
54 | |||||
23 | |||||
13 | |||||
11 | |||||
2 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.830222.789+36
- 2.561204.733+3
- 3.34957.860+14
- 4.916404.694-1
- 5.280162.633+8
- 6.305114.728+1
- 7.721440.621+3
- 8.14758.717+1
- 9.17046.787-1
- 10.1019662.606+4
Replay highlight
VS
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Einhoven Country
Honor it
9
Download
1222
Board Info
899 users are online:
899 guests
1 post in the last 24h
8 posts in the last week
36 posts in the last month
8 posts in the last week
36 posts in the last month
Registered members: 48939
Welcome our newest member, Ellmjnhiem
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, Ellmjnhiem
Most online: 2043 users on 29 Oct 2023, 01:04 AM