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: I have the _best_ MP mission ever + need help  (Read 1982 times)

0 Members and 1 Guest are viewing this topic.

Ziro

  • Guest
I have the _best_ MP mission ever + need help
« on: 26 Mar 2003, 14:42:23 »
ok lads, ive made a really cool mission but i dont want to give the game away just yet. i need help making units when the players are within XXX distance of the particular town. how can i do this (and creat waypoints for them) easily?

also how do i make multi-instance variables?

ive made a ncie suicide script with the action menu but it executes another script and i have to carry the variables accross... how can i make it be able to run many of the script without them conflicting.

-ZiRo

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:I have the _best_ MP mission ever + need help
« Reply #1 on: 29 Mar 2003, 01:37:10 »
if you need to use a variable in more than 1 script, then in the first script that makes the variable, type in the following line

myvariablename= blah blah blah
publicvariable "myvariablename"

eg

scoreE=scoreE+1
publicvariable "scoreE"
-----------------------------------------------------------------------------------------------------
Quote
ok lads, ive made a really cool mission but i dont want to give the game away just yet. i need help making units when the players are within XXX distance of the particular town. how can i do this (and creat waypoints for them) easily?

This sounds coopy to me so i dont really know

i would imagine you need to make a trigger that activates an AI creation script.

If you look in the depot section theres probably examples of the ai scripts
« Last Edit: 29 Mar 2003, 01:40:12 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123