Home   Help Search Login Register  

Author Topic: Sidechatting a Public var, score  (Read 434 times)

0 Members and 1 Guest are viewing this topic.

M_S_Holder

  • Guest
Sidechatting a Public var, score
« on: 05 Jan 2004, 22:06:45 »
This is a series of rather simple questions.

(1)  How do you display a public variable by the sidechat?  

As in : Banker sidechat "you have, " X " amount of money left."

Where the value X is how much money you have.

(2) Is there a Public variable for the Player's current score, so that I can check it in-game?

(3) Is there anyway to change a player's rank during the game, or to set the skill level of an AI player in-game?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Sidechatting a Public var, score
« Reply #1 on: 05 Jan 2004, 22:10:02 »
1. sidechat format ["You have this many bucks: %1", _money]

2. Think so, dunno what it might be though.

3. SetSkill, dont know if there's a SetRank though.

syntax not guaranteed on Q 1.

:beat: *Gets Qed* :beat:

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Sidechatting a Public var, score
« Reply #2 on: 06 Jan 2004, 01:13:39 »
2.     rating

3.     I have a feeling you can't change the rank during a game.   The only real effect of rank on an AI unit is how likely they are to flee, which you can control anyway.    
Plenty of reviewed ArmA missions for you to play