Jump to content

Search the Community

Showing results for tags 'setpos'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • BOHEMIA INTERACTIVE
    • BOHEMIA INTERACTIVE - NEWS
    • BOHEMIA INTERACTIVE - JOBS
    • BOHEMIA INTERACTIVE - GENERAL
  • FEATURED GAMES
    • Vigor
    • DAYZ
    • ARMA 3
    • ARMA 2
    • YLANDS
  • MOBILE GAMES
    • ARMA MOBILE OPS
    • MINIDAYZ
    • ARMA TACTICS
    • ARMA 2 FIRING RANGE
  • BI MILITARY GAMES FORUMS
  • BOHEMIA INCUBATOR
    • PROJECT LUCIE
  • OTHER BOHEMIA GAMES
    • ARGO
    • TAKE ON MARS
    • TAKE ON HELICOPTERS
    • CARRIER COMMAND: GAEA MISSION
    • ARMA: ARMED ASSAULT / COMBAT OPERATIONS
    • ARMA: COLD WAR ASSAULT / OPERATION FLASHPOINT
    • IRON FRONT: LIBERATION 1944
    • BACK CATALOGUE
  • OFFTOPIC
    • OFFTOPIC
  • Die Hard OFP Lovers' Club's Topics
  • ArmA Toolmakers's Releases
  • ArmA Toolmakers's General
  • Japan in Arma's Topics
  • Arma 3 Photography Club's Discussions
  • The Order Of the Wolfs- Unit's Topics
  • 4th Infantry Brigade's Recruitment
  • 11th Marine Expeditionary Unit OFFICIAL | 11th MEU(SOC)'s 11th MEU(SOC) Recruitment Status - OPEN
  • Legion latina semper fi's New Server Legion latina next wick
  • Legion latina semper fi's https://www.facebook.com/groups/legionlatinasemperfidelis/
  • Legion latina semper fi's Server VPN LEGION LATINA SEMPER FI
  • Team Nederland's Welkom bij ons club
  • Team Nederland's Facebook
  • [H.S.O.] Hellenic Special Operations's Infos
  • BI Forum Ravage Club's Forum Topics
  • Exilemod (Unofficial)'s General Discussion
  • Exilemod (Unofficial)'s Scripts
  • Exilemod (Unofficial)'s Addons
  • Exilemod (Unofficial)'s Problems & Bugs
  • Exilemod (Unofficial)'s Exilemod Server tweaks
  • Exilemod (Unofficial)'s Promotion
  • Exilemod (Unofficial)'s Maps - Mission Files
  • TKO's Weferlingen
  • TKO's Chernarus
  • TKO's Livonia
  • TKO's Rules
  • TKO's Changelog
  • TKO's Help
  • TKO's What we Need
  • MSOF A3 Wasteland's Server Game Play Features
  • MSOF A3 Wasteland's Problems & Bugs
  • MSOF A3 Wasteland's Maps in Rotation
  • SOS GAMING's Server
  • SOS GAMING's News on Server
  • SOS GAMING's Regeln / Rules
  • SOS GAMING's Ghost-Town-Team
  • SOS GAMING's Steuerung / Keys
  • SOS GAMING's Div. Infos
  • SOS GAMING's Small Talk
  • NAMC's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Yahoo


Jabber (xmpp)


Skype


Biography


Twitter


Google+


Youtube


Vimeo


Xfire


Steam url id


Raptr


MySpace


Linkedin


Tumblr


Flickr


XBOX Live


PlayStation PSN


Origin


PlayFire


SoundCloud


Pinterest


Reddit


Twitch.Tv


Ustream.Tv


Duxter


Instagram


Location


Interests


Interests


Occupation

Found 8 results

  1. Hello guys. I need your help once again. I have this line of code working perfectly for the Server Host: openMap true; MapClicked = false; onMapSingleClick "HHH setPos [_pos select 0,_pos select 1, 0] ;(group transportHeli) move _pos; MapClicked = true; onMapSingleClick ''; true;"; Where HHH is the name of a Helipad placed on the Eden Editor. That previous line does not work in MP of course since when a client calls the script the helicopter with crew (also placed via Editor) nor the Helipad move to the onMapSingleClick location. I've tried the following remoteExec code: onMapSingleClick "[HHH,[_pos select 0,_pos select 1, 0]] remoteExec ["setPos", HHH]; [(group transportHeli),[_pos]] remoteExec ["move", (group transportHeli)]; MapClicked = true; onMapSingleClick ''; true;"; But I get this error: Error SETPOS: TYPE ANY , EXPECTED OBJECT. If I remove: "[HHH,[_pos select 0,_pos select 1, 0]] remoteExec ["setPos", HHH]; And just leave: [(group transportHeli),[_pos]] remoteExec ["move", (group transportHeli)]; Then the error is: Error MOVE: TYPE ANY , EXPECTED OBJECT. But I double checked and the location of both the SetPos and Move commands on the remoteExec are in the correct location and should be working... BIS BUG? Any ideas on how I can solve this issue and/or any other method to get the client to move the server placed helicopter on command? Thanks in advanced.
  2. Hi again, i want to create a user action on an object that will teleport the person activating it to a marker called marker_Nimitz. I have read about player setpos xxx but i am pretty sure this will not work in multiplayer with JIPing units.
  3. I've noticed some really odd behavior when using setPos/setPosASL on a dedicated server. If I'm testing things locally, I can do setPos on a unit in any state and it will always work with no problems. On a dedicated server, it only appears to work if a unit is standing on the ground and is not in a vehicle. If they're in a vehicle or they're falling in mid-air, setPos does absolutely nothing. It doesn't seem to be a locality issue, as running it globally or remoteExec'ing it on the unit seems to make no different, setPos just seems to behave differently when on a dedicated server. Is this a bug or is there something with how that command works that causes this?
  4. hi, I want the player to be teleported to a MHQ. I'm hereby doing this: if (!isEngineOn westmhq1) then { player moveInCargo westmhq1; }else{ player setPos (westmhq1 getPos [10,10]); }; if (!isEngineOn westmhq1) then { player moveInCargo westmhq1; }else{ player setPos (westmhq1 getPos [10,10]); }; that works too. If the MHQ named westmhq1 is destroyed, spawns it again: _vehicle = _this select 0; _respawntime = _this select 1; _facingofvehicle = getDir _vehicle; _positionofvehicle = getPosATL _vehicle; _vehicletype = typeOf _vehicle; _name = vehicleVarName _vehicle; .... _vehicle = _vehicletype createVehicle _positionofvehicle; _vehicle setVehicleVarName _name; _vehicle setPosATL _positionofvehicle; _vehicle setDir _facingofvehicle; ... that works too. After respawning from westmhq1, the player is no longer teleported. No error message appears. Unfortunately, I do not understand why that is. Maybe someone can explain why the player is no longer teleported after respawn westmhq1. thanks..
  5. Hello armaholics! I've run into some trouble with AI and a certain building. I've put AI Waypoint to go into to a military cargo building. The problem is not if they can go inside. The group leader goes where he's suppose to, but some other group members start crawling under the building, then standing up. This results the AI half under and half inside the building. Link to image of the building Is there a way to disable AI from crawling? Forcing them to not go under the building. I'm aware of putting AI to only stand or only crouch, but I want them to be able to crouch and stand. Just removing the crawling aspect. Thanks in advance! Some of my missions: [CO-04] Last Stand - Compound [CO-04] Last Stand - Town [CO-04] Terrorist Hunt - Village [CO-04] Terrorist Hunt - Factory
  6. All, I'm trying to set the altitude of a pipe (class is Land_IndPipe1_20m_F). The pipe is oriented to terrain normal. The issue is that the pipe's inclination gets completely messed up. This is the pipe in the editor: This is the pipe after setting its altitude from a script: Things I've tried: _currentPipe setPos [getPos _currentPipe select 0, getPos _currentPipe select 1, _altitude]; _currentPipe setPos (_currentPipe modelToWorld [0, 0, _altitude]); _currentPipe setPosATL (_currentPipe modelToWorld [0, 0, _altitude]); _currentPipe setPosATL [getPosATL _currentPipe select 0, getPosATL _currentPipe select 1, (getPosATL _currentPipe select 2) + _altitude]; _currentPipe setPosASL [getPosASL _currentPipe select 0, getPosASL _currentPipe select 1, (getPosASL _currentPipe select 2) - _altitude]; To no avail. ...Any ideas? Thank you, _SCAR
  7. Hello there! I was trying to Visualize a Marker by having objects placed at the edge of that specific marker. Using SHK_Pos its done in no time at all. Now, the problem is, that the Markers Size reduces over time and the created objects (in my case Cones) should continue to be at the edge of the marker while the marker is shrinking. The "shrinking" paprt works, but not perfectly, as the cones end up in random places at the end (Screenshot) Im not quite sure what happening, so those are my Assumptions: Objects cant be spawned outside of the world (Eg. Black area outside of the chart) SHK_Pos Is not getting the correct position My Way of setting the position of the cones isnt accurate The cones get stuck on other objects liek buildings, messing up the positions. Me, not seeing the most obvious thing This is the Code im using. _Size is the Distance. - _DummyList is the Array of the Cones created - _Speed is 5. If (_SizeMarker > _Size) then { "Zone" setMarkerColor "ColorRed"; "Zone" SetmarkerSize [(_SizeMarker - _speed),(_SizeMarker - _speed)]; { if ( (_x distance (GetMarkerPos "Zone")) > _Size) then { _x setpos [(_x modelToWorld [0,_speed,0]) select 0, (_x modelToWorld [0,_speed,0]) select 1, 0]; }; } Foreach _DummyList; [_size, _DummyList] Execvm "Server\Zones\zoneScaling.sqf"; Sleep 0.1; } else {"Zone" setMarkerColor "ColorBlue";}; I was trying the script in 50 Meters distance in which everything worked fine. The Script need to be run individually since the _Size Changes by a different script. Thanks in Advance, CP ~
  8. Hello, I've been trying to create a shoothouse for my community but I've run into a very strange problem. Attached below is the mission file. I've made a collection of scripts to create a CQB enviroment with randomized entry point and random target placement. Works fine in SP (so logic is a-ok) but I've tried to test it in a non-dedicated server and alas not only the doors are not inmediately moved, but the targets are sometimes not moved at all; actually, the targets are moved in the host machine just fine, but the other player only sees the target in the new position once the host has shot it or after some random delay. Currently the scripts are triggered via addAction, which executes via execVM, scripts that change the position and direction of the objects syncronized. As I said, the logic works as intended in SP, and for whoever is Server when in coop, but the other players experience the aforementioned delay in object movement. As far I've understood it, effects of setPos are global and broadcasted so if my script only makes use of that command (and setDir), why is it experiencing this delay? You can download the mission here. Any help would be appreciated. And, thanks for reading! These scripts may be used in part or completely only when due credit is given.
×