Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: setrank during game  (Read 1376 times)

0 Members and 1 Guest are viewing this topic.

Offline blekzebbed

  • Contributing Member
  • **
  • You wan't my phone number? Call me
setrank during game
« on: 26 Jan 2006, 21:44:26 »
A very simple question but I couldn't find it in the FAQ and comref:
 Is there a way to (while the mission is running) set the rank of a soldier. Just like you do with: unitname setdammage 1 or unitname setfuel 0 etc. ?
cheers bekzebbed

something like: unitname setrank "colonel" ? :P


changed spelling of "rank"... bedges
« Last Edit: 26 Jan 2006, 22:05:33 by bedges »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:setrang during game
« Reply #1 on: 26 Jan 2006, 22:02:32 »
You mean rank, not rang.   :)    And sadly, no, there is no way to set the rank of  loon during the mission.   However, you could delete him and replace him with another loon of a different rank.

Why do you want to change rank anyway?   What is the situation?   We may be able to find a workaround.
Plenty of reviewed ArmA missions for you to play

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:setrank during game
« Reply #2 on: 26 Jan 2006, 22:03:01 »
if you create a unit with the createunit command, yes.

if you wish to change the rank of an existing unit, no.

Offline blekzebbed

  • Contributing Member
  • **
  • You wan't my phone number? Call me
Re:setrank during game
« Reply #3 on: 28 Jan 2006, 15:06:59 »
Thanks dudes, I think it will do with the camcreate command.
o yeah, I meant rank ;), i confused it with my own language
dutch
cheers zebbed