Jump to content
Sign in to follow this  
killbox90

Scripting help!?!?

Recommended Posts

i spent the last 20 minutes searching so any help would be great.

basically i have a firing range with the targetE (or what ever it is called), and what to after done destroying all,just hit a button and the all pop back up. I have a basic idea how to do this but am iffy on some of the details.. any scripts that you may know of would be great or any links to pages or thread would help too. thx

Share this post


Link to post
Share on other sites

Just give the player a custom action so that when it is activated, it calls upon a script called "raisetargets.sqs"

Then create the "raisetargets.sqs" script the the following inside

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

target1 setdammge 0

target2 setdammage 0

target3 setdammage 0

etc....

And remember to change target1, target2, etc... to the names of your targets

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×