-
Content Count
1582 -
Joined
-
Last visited
-
Medals
Everything posted by hoz
-
You could do something like this... ver 1.85+ Assuming these are playable players but don't have to be. In each of the players (soldiers) you want to medivac add this... I see some draw backs with this already, it might be better to have the chopper move to a safe area (place a invis H and have the pilot move to the pad). Mulitple hits to the group will cause the chopper havoc, (he won't know where to go after more then 1 hit) easy enough to add some checking for that. this addeventhandler ["hit", {_this exec "hit.sqs"}] ~script~ hit.sqs #start ; Select the Unit _unit = _this select 0 ; check if unit is dead end script if he is ?(_unit !alive) :goto "end" ; send off the medivac pilot moveindriver chopper pilotgp move (getpos _unit) ;give him some time to get there ~50 ; force him to land chopper land "get in" pilotgp move (getpos hospital) ; give him some to get back chopper land "get out" #end exit Don't know if thats what you wanted Hoz
-
Creating a new group with createunit
hoz replied to Bagel's topic in OFP : MISSION EDITING & SCRIPTING
Many have reported to use the grpnull for the group. I have never tried this myself, instead I use a soldier on the map and do the 'ole mygroup = group this and I have the units I create join this group. This way you can give the leader some of the more intelligent waypoints such as Guard and Hold or SAD. I haven't been able to figure out how to give a unit one of these more intelligent waypoints through script without writing some lengthy routine. Hoz -
Request for new scripting command in next patch
hoz replied to toadlife's topic in OFP : MISSION EDITING & SCRIPTING
While we are wishing I'd like a command to check if helo has landed. Hoz -
did you try searching for the mem map error? mem map error solutions Changing the aperature size worked for me. I should test the new drivers out hoz
-
I noticed that you could cause ofp res to crash if you tried to resize an array with a negative number. I just happened to be testing something and the game crashes without the crash files. arraylist resize -1 hoz
-
Making certain things happen to certain players
hoz replied to blackdog~'s topic in OFP : MISSION EDITING & SCRIPTING
I dunno if its possible to call the ID or the actual players nickname. But I have done something similar in the past. I use the standard player1 in the players name field. THen I make that player a sniper for instance (this particulars guys favorite gun) Then knowing the players going to be in that unit, you can do what ever to that unit. hoz -
Ok I tried that and now I am getting the error less frequent but I still get it. Hoz Edit: I am getting the error on the 3rd kill now oppose to the second kill before.
-
Thanks, I'll try that
-
I tried the eventhandlers, but i haven't got a handle on them yet I tried replacing ? _x == _d : _x = 0 with ? _x == _d : _d=(count unitslist)-1 Is that what you ment? That just gets me to the error quicker. I added the ~.01 but didn't make a difference.
-
I get the same crackling sound with XP and SB live 5.1 Hoz
-
If I might suggest some additional features. 1. Â Ability to match addons with missions. Â (not sure if this is possible) 2. Ability to copy or zip up addons for particular missions, or a set of missions on a dedicated server. For instance, when I get a new map and i finally track down the addons, I have to send them to the grp of people I play with. It would be nice to be able to zip them all up easily. Maybe I am just lazy Just some suggestions Hoz
-
</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (MAsta_KFC @ Nov. 16 2002,12:14)</td></tr><tr><td id="QUOTE">No probz. Rastovivich, I was wondering when u run the editor, if u could then have the option to run operationflashpoint.exe or flashpointresistance.exe, sorta to make it like a fontend prog? So people can just run ure editor everytime they start up ofp and then go directly into OFP. That way, people can check up on the addons everytime they run the game, more of like a convenience thing.<span id='postcolor'> If you implement this, don't forget to include the -nosplash Hoz
-
How does one set a dynamic WP to seek and destroy? I notice in the sqm for seek and destroy its TYPE SAD how. I currently use grp move pos to move the unit to the target but I would like the unit to change to seek and destroy. Hoz
-
I searched before I posted. ALOT, just try searchin group Is there a way to create a group on the fly via script? I tried creating game logic and do the group1 = group this but i can't get units to join when its time to. Hoz
-
Group one guy in the init field or in a script. then have the other join that group. This way joins the group: groupName = group unit4; [unit1, unit2, unit3] join groupName Edit: Actually there is several ways to give the entire group a name. This is probally easier and more what you want. in each of the dudes you create you could put in the init field groupName = group this
-
I got what I wanted working with the grpnull. Thanks for the help.
-
When I try to create a group with objnull I get an error EXpect Number. "KEGSSoldierEAK103" createUnit [(getpos chop2), objnull,"",intel,"SERGEANT"] Edit: I gave up on the objnull and created a second group and now i just keep moving the dude in and out of the group as a place holder. Kind of kludgy but it works. I'd rather be able to create an empty group Hoz
-
Thanks for the help, it sounds promising. Going to try it out here shortly. I'll let you know. Hoz
-
I'm talk about having units join a group that doesn't exisit yet. Nor do I want to care what the units names are. Here is my problem, i have this script that has one group join another group. which works fine. "[_x] join battlegp1" foreach units gengp after these dudes join this new group (battlegp1) my gengp group is then empty or non exisitant. I then want to create more dudes in the gengp group, however when i goto create the units (on the fly) the group is empty and therefore doesn't exisit. So I would like to know how to recreate or create a new group and put the new dudes into this group. Anyone get what I am saying? Hoz
-
Operation flashpoint/desktop graphics problem
hoz replied to Rodger Bilko's topic in TROUBLESHOOTING
I experience the same problem with an ATI 7500. When alt tabing back and forth from windows to OFP the gama needs to be reset. It sucks especially when yer playing night missions and trying to get players together. Hoz -
Ive searched and didnt find it
hoz replied to Sniper_Panther's topic in OFP : MISSION EDITING & SCRIPTING
This code will lift an object up higher. Where 2.4 is the height. this setpos [(getpos this select 0), (getpos this select 1), (getpos this select 2)+2.4] Hoz -
I have a similar problem when I alt tab to windows and back my screen goes very dark. I have to go back into the video options and turn up the brightness. I have an ATI 7500 all in wonderful, it seems to happen on a friend computer same vid card.
-
If you use scripts you could have unlimited number of dudes through out a whole battle. Just keep deleting and recreating the dead dudes. Of course yer still limited to 63 groups on the map at any given time.
-
Having the game end when a music file stops
hoz replied to perrin693r's topic in OFP : MISSION EDITING & SCRIPTING
You still need to define the music in the description.ext. What Bn880 is saying is trigger the music via another script. Hoz -
I see the server loosing connection on a windows box, not linux. I see this message often. Hoz