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: 10

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: 10

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: 10

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

Livestreams

United States 114
United States 2

Ladders Top 10

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

Replay highlight

VS
  • Oberkommando West flag Oziligath
  • The British Forces flag T.R. Sidewinder
uploaded by Oziligath

Board Info

86 users are online: 1 member and 85 guests
DevM
21 posts in the last 24h
108 posts in the last week
923 posts in the last month
Registered members: 32152
Welcome our newest member, alfonsoygreene
Most online: 1221 users on 25 Feb 2020, 12:03 PM