Jump to content

leop

Member
  • Content Count

    24
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About leop

  • Rank
    Private First Class
  1. Thanks heaps guys, i caught on and used notepad and it works( it blew me to bits). I didn't know you couldn't use wordpad. Thanks again, for the tips and everything.
  2. Then it looks like you have some extra characters at the end of your script? What are you using to edit the script file. Notepad or something else? I used wordpad but i didn't edit it i just copied+paste it in there. That is exactly the error i'm getting.
  3. Its still not working, I put [object 11017 , 15, .5, 15] exec "bomb.sqs" in the activation field on a vehicles waypoint and it still gives me the same error. Thanks for helping but if you can can you try to see if the script works and give me exactly the details of how you did it. Its hard to simulate this script in another way like getting enemy units to fire shells and miss all without being detected by my side. I need this effect for my mission.
  4. I still learning editing, what i'm doing is putting an object like an invisible helipad or a soldier and putting its name in place of the "name" part. I'm not sure how to get an objects id or to find its position if thats even what you said. I finding it a bit hard to understand it plus those links are not working for me.
  5. Whats wrong with this script. I took it from here: http://www.ofpec.com/editors/faq_search.php And type: bombs This is it: ; *** Bombing.sqs by Mike Schell *** ; ; A small script that will detonate bombs around a passed object at a given radius ; ; Usage: ; ;Syntax: [posobject, numberofbombs, timespacing, radius] Exec "bombing.sqs" ; ; posobject: The object the script will center the bombs around ;numberofbombs: number of bombs to detonate ;timespacing: delay (in seconds) between bomb blasts ;radius: maximum deviation from the center of posobject ; ; Example: To create 5 bombs that go off around the player (MyGuy) every half second ; at a distance no greater than 40 meters: ; ;[MyGuy, 5, .5, 40] Exec "bombing.sqs" ; ; Get's variables from 'EXEC' line _marker = _this select 0 _maxbombs = _this select 1 _intervals = _this select 2 _radius = _this select 3 ; Sets bomb counter to zero _counter = 0 ; Main loop #Update ; Set up positioning for bombs _xm = getpos _marker select 0 _ym = getpos _marker select 1 _xm = _xm + (random(_radius) - (_radius/2)) _ym = _ym + (random(_radius) - (_radius/2)) ; Make explosion _boom = "shell125" camcreate [_xm, _ym, getpos _marker select 2] ; Wait a given amount of time between blasts ~_intervals ; Increase bomb count, end if all bombs have been detonated _counter = _counter +1 ? (_counter == _maxbombs) : goto "AllDone" ; Loop it for next bomb goto "Update" ; End script #AllDone exit This is what i write to activate [name, 15, .5, 15] exec "bombing.sqs" and when it should happen this error occurs: exit/#l\fo\fs20\par I'm new to scripts, but this one is made already. Whats going wrong.
  6. Hi, I'm sure this is very straight forward to regular editors but learning editing is a bit hard. I'm trying to give a west soldier a playmove to stand in attention. It should go something like this Soldier playmove "fxstandatt" but nothing happens ?. Then i try to give a action command something like this soldier action ["str_action_weapononback"] and nothing happens. Is it really that difficult to give these commands, what am i missing. One last question, is it possible to put these commands in the initialization field.?
  7. thanks for your replies, but so i can understand editing better why can a command like "[aP, Sol, Cap] ordergetin true " be used and the one i wrote above need "foreach" to use the array.
  8. Hi, I'm trying to make a row of soldiers salute a officer when he arrives, now i have it perfect as i set the trigger to condition when the officer disembarks and on activation i write salutesol playmove "effectstandsalute". This works but when i try to make an array of soldiers (the row) it dosn't .eg. [salutesol, salutesol1, salutesol2, salutesol3] playmove "effectstandsalute". Why dosn't the array work. If i put in the line that works over and over again for each soldier it works but if i array it it dosn't. thanx.
  9. Thanks for the tips, its taking too much of my time i'll leave it up to the player to get there.
  10. OK i'm not so knowledgeable on all aspects but to choose waypoints i have to first click on my player how do i give waypoints to 3 seperate vehicles and more vehicles later on in the mission without connecting them all up. I understood the deletion of the other waypoints but how are they given diff waypoints to begin. Thanks for the links, i'll bookmark them. I want to give "goto" waypoints on trivial things like go here, pick up that, not really the important parts of the mission.
  11. Hi, I posted in the wrong forum (ADDONS & MODS: DISCUSSION) and was told to post here. How do you waypoint a vehicle that is empty that you intend your player to use later in the mission. Note that there are a few vehicles the player will use all with seperate waypoints. This is for a single player mission. I used to know how to do it but i put OFP down for a while and want to get back into it. What i want is for the player to jump into a choice of vehicles i.e water, land and air and have the yellow "goto here" boxes i.e waypoints. My second question is where can you host your missions once they're complete, if you dont have your own website.
  12. Its just a quick question so i'll just finish it off quick. What i want is for the player to jump into a choice of vehicles i.e water, land and air and have the yellow "goto here" boxes i.e waypoints. I'll post futher question in the mission editing and scripts, as i was looking in the OPF forum i didn't see that category. EDIT: I posted in the MISSION EDITING & SCRIPTING forum. Continue there.
  13. Can you explain a bit more. How do you do it if the player is not connected to the vehicle at all. What if you give the player a choice of vehicles to pick from all with diff waypoints.
  14. Hi, I'm not sure if this is the right place to ask but it was the closest i found. How do you waypoint a vehicle that is empty that you intend your player to use later in the mission. Note that there are a few vehicles the player will use all with seperate waypoints. This is for a single player mission. I used to know how to do it but i put OFP down for a while and want to get back into it. My second question is where can you host your missions once they're complete, if you dont have your own website.
×