Hendo/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Scripts ==
== Scripts ==


=== Killer AH1Z ===
=== Killer AH1Z ===


<pre>
<code>
/*
/*


Line 46: Line 45:




</pre>
</code>





Revision as of 07:53, 16 November 2009

Scripts

Killer AH1Z

/*

Purpose: Have A1Z engage player

Preconditions: A1Z (snake) spawn

Activator: snake

Author: Henderson

TO USE:

Save this file in C:\Documents and Settings\user\My Documents\VBS2\mpmissions\missionname\ Make an M1A1 and name it player Make an AH1Z and name it snake - use the following initialization script for snake

call {player execVM "snake.sqf";}


Run like the dickens!

  • /


//Feedback on script start hint "Snake Started!"; this flyInHeight 200;


while {alive player} do { snake doMove getPos player; snake doTarget player; //hsnake selectWeapon "HellfireLauncher"; snake doFire player; sleep 1; }; hint "Snake killed player!";