Login

russian armor

SCAR print message to screen?

29 Dec 2016, 17:00 PM
#1
avatar of Artigo

Posts: 80

Hello,

Does SCAR have the functionality to print a message to the screen of the players? I'd like to print a message when a certain flag is dropped and cue a warning sound, how would I go about doing that?

I'm currently looking at the documentation, but not sure specifically which function would trigger that

http://fortresseuropemod.com/scardoc/frameset.htm
29 Dec 2016, 18:31 PM
#2
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

30 Dec 2016, 20:18 PM
#3
avatar of Artigo

Posts: 80

You could use the UI API; http://modding.companyofheroes.com/scripting-ui


This is great, thank you!

Question for you though, how do you go about distributing the SCAR data?
30 Dec 2016, 20:45 PM
#4
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

jump backJump back to quoted post30 Dec 2016, 20:18 PMArtigo


This is great, thank you!

Question for you though, how do you go about distributing the SCAR data?


What do you mean by distributing SCAR data? Can you give an example?
30 Dec 2016, 20:49 PM
#5
avatar of Artigo

Posts: 80



What do you mean by distributing SCAR data? Can you give an example?


How do I actually call the function in my mod?

I have a tuning pack that I'm using currently, but I don't know how to 'attach', for lack of a better word, this SCAR package so that it can be used.
30 Dec 2016, 20:53 PM
#6
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

You'd have to use a win condition to run SCAR.
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

976 users are online: 976 guests
0 post in the last 24h
8 posts in the last week
37 posts in the last month
Registered members: 49102
Welcome our newest member, Rusel334
Most online: 2043 users on 29 Oct 2023, 01:04 AM