Home   Help Search Login Register  

Author Topic: UAV MQ-9 invisible invincible  (Read 3148 times)

0 Members and 1 Guest are viewing this topic.

Offline SpecterM

  • Members
  • *
UAV MQ-9 invisible invincible
« on: 29 Jul 2010, 02:00:08 »
I set up a UAV according to this wiki    http://community.bistudio.com/wiki/UAV

Id like to make it so it doesnt destroy.  Can someone help me?

Offline kju

  • Members
  • *
    • PvPScene - The ArmA II multiplayer community
Re: UAV MQ-9 invisible invincible
« Reply #1 on: 29 Jul 2010, 09:03:42 »

Offline SpecterM

  • Members
  • *
Re: UAV MQ-9 invisible invincible
« Reply #2 on: 29 Jul 2010, 13:11:40 »
thanks, but that didnt work.  I ended up doing this..

Code: [Select]
This flyInHeight 200; this setcaptive true
But after saved to multiplayer mission the UAV doesnt say.....

Quote
TARGET!.  That!  enemy tannk!


How about Respawning?  Is there a way to get the UAV to respawn after its destroyed?
« Last Edit: 30 Jul 2010, 00:31:21 by SpecterM »

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re: UAV MQ-9 invisible invincible
« Reply #3 on: 30 Jul 2010, 12:12:05 »
for MP use handleDamage

What? Is? This? ICouldn't find any reference to it in the comref. Is it a new command? What does it do? Why should I avoid allowDamage in MP mode?

EDIT: I see now that it's an eventHandler. But the second question remains. I've used allowDamage several times in MP with good results, as long as the commands are issued on all machines (including the server).
« Last Edit: 30 Jul 2010, 12:22:54 by nominesine »
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline kju

  • Members
  • *
    • PvPScene - The ArmA II multiplayer community
Re: UAV MQ-9 invisible invincible
« Reply #4 on: 30 Jul 2010, 19:34:03 »
Yes allowDamage damage is local. As long as you execute it on all machines its fine.
But for beginners the EH approach is just the one command without all the locality hassle.

In OA there is a new respawn EH:
http://community.bistudio.com/wiki/ArmA_2:_Event_Handlers#Respawn

To hide an object use:
http://community.bistudio.com/wiki/hideObject

All commands:
http://community.bistudio.com/wiki/Category:Scripting_Commands_ArmA2

Offline SpecterM

  • Members
  • *
Re: UAV MQ-9 invisible invincible
« Reply #5 on: 31 Jul 2010, 00:52:35 »
Is there a line I can put in the init to get the UAV to respawn after destruction?