Page 1 of 3 123 LastLast
Results 1 to 15 of 35
  1. #1
    ProRaiin's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Posts
    177
    Reputation
    23
    Thanks
    558
    My Mood
    Dead

    Cool All DayZ Standalone Scripting Commands

    This is an unorganized list of all the current DayZ functions. It's up to you to find out the syntax for the specified commands.

    Keep in mind, some of these commands may be server side only.

    I'll be adding to this list.

    ,Raiin@MPGH

    Code:
    setrectangular
    setimportance
    attachedobject
    locationposition
    nearestlocation
    nearestlocations
    deletelocation
    createlocation
    removesimpletask
    diarysubjectexists
    setcurrenttask
    setsimpletasktarget
    createsimpletask
    selectdiarysubject
    sendtaskresult
    settaskresult
    creatediaryrecord
    creatediarysubject
    unregistertask
    processdiarylink
    creatediarylink
    registeredtasks
    taskdescription
    taskdestination
    taskcompleted
    setcombatmode
    foreachmemberagent
    foreachmemberteam
    foreachmember
    setfromeditor
    deleteresources
    removeteammember
    addteammember
    nearestobject
    setobjecttexture
    animationphase
    radiochannelremove
    radiochanneladd
    radiochannelsetlabel
    ctrladdeventhandler
    progresssetposition
    createmissiondisplay
    ctrlmapworldtoscreen     /*Raiin@MPGH*/
    ctrlmapscreentoworld
    ctrlmapanimadd
    slidersetspeed
    slidersetrange
    slidersetposition
    buttonsetaction
    lnbsetpicture
    lnbdeletecolumn
    lnbsetcolumnspos
    lnbsetcurselrow
    lbsetselected
    ctrlseteventhandler
    createdisplay
    ctrlsettooltip
    ctrlsetactivecolor
    ctrlsettextcolor
    ctrlsetposition
    ctrlsetfontheighth6
    ctrlsetfontheighth5
    ctrlsetfontheighth4
    ctrlsetfontheighth3
    ctrlsetfontheighth2
    ctrlsetfontheighth1
    ctrlsetfontpb
    ctrlsetfonth6b
    ctrlsetfonth5b
    ctrlsetfonth4b
    ctrlsetfonth3b
    ctrlsetfonth2b
    ctrlsetfonth1b
    ctrlsetfonth6
    ctrlsetfonth5
    ctrlsetfonth4
    ctrlsetfonth3
    ctrlsetfonth2
    ctrlsetfonth1
    ctrlsetfontheight
    posworldtoscreen
    posscreentoworld
    drawrectangle
    kbremovetopic
    kbadddatabasetargets
    kbadddatabase
    setobjectmaterial
    synchronizevariable
    settargetcategory
    movetoinventory
    createincargo
    createininventory
    selectionproxy
    publicvariableclient
    enablecollisionwith
    disablecollisionwith
    enablecopilot
    allowcrewinimmobile
    disabletiequipment
    setvehicletipars
    assigntoairport
    setairportside
    gethitpointdamage
    magazinesturret
    weaponsturret
    aimedattarget
    unitsbelowheight
    mapcenteroncamera
    findemptyposition
    sethitpointdamage
    ctrlmapcursor
    nearobjectsready
    setmarkeralphalocal
    setmarkeralpha
    setunconscious
    playactionnow
    getfsmvariable
    setfsmvariable
    onmapsingleclick
    disableconversation
    enablesimulation
    setunitposweak
    sethidebehind
    findnearestenemy
    setdestination
    emptypositions
    selectionposition
    weapondirection
    setvectordirandup
    lightattachobject
    setlightbrightness
    setlightambient
    setlightcolor
    setcamerainterest
    setdropinterval
    setparticlecircle
    setparticlerandom
    setparticleparams
    createvehiclelocal
    setvehicleinit
    setvehiclelock
    setunitability
    setvehicleammo
    setvehiclearmor
    setvehiclevarname
    setvehicleposition
    setattributes
    setmarkerdirlocal
    setmarkerbrushlocal
    setmarkerbrush
    setmarkershapelocal
    setmarkershape
    setmarkertextlocal
    setmarkertext
    removeeventhandler
    addeventhandler
    setuseractiontext
    campreparetarget
    camcommitprepared
    campreparedir
    campreparebank
    campreparedive            /*Raiin@MPGH*/
    campreparefovrange
    campreparefocus
    campreparefov
    campreparerelpos
    campreparepos
    camsetfovrange
    preloadobject
    createvehicle
    addmagazinecargo
    addweaponcargo
    setrepaircargo
    moveincommander
    enableaifeature
    useaudiotimeformoves
    removemagazines
    removemagazineturret
    removemagazine
    addmagazineturret
    setmagazineammo
    setmarkercolorlocal
    setmarkercolor
    setmarkersizelocal
    setmarkersize
    setmarkertypelocal
    setmarkertype
    setmarkerposlocal
    requestdamage
    setflagtexture
    setfaceanimation
    simulsethelperdetail
    simulsethelpergrid
    simulsetthinlayer
    simulsetovercast
    simulsetdiffusivity
    simulsetmieasymmetry
    simulsetlightdetail
    simulsetextinction
    simulsetnoiseperiod
    simulsetnoiseoctaves
    simulsetrandomseed
    simulsetgridheight
    simulsetgridwidth
    simulsetgridlength
    simulsetcloudbasez
    simulsetcentrey
    simulsetcentrex
    simulsethumidity
    simulsetcloudheight
    simulsetcloudlength
    simulsetcloudwidth
    simulcloudocclusion
    simulclouddensity
    simulinclouds
    reloadsimulweather
    enablesimulweather
    objectfromnetid
    secondaryweapon
    primaryweapon
    onplayerdisconnected
    onplayerconnecting
    onplayerconnected
    onmapsingleclick
    onbriefinggroup
    onbriefingnotes
    onbriefingplan            /*Raiin@MPGH*/
    slidersetspeed
    slidersetrange
    slidersetposition
    lnbsetpicture
    lnbsetcolumnspos
    lnbdeletecolumn
    lnbsetcurselrow
    buttonsetaction
    sendaumessage
    radiochannelcreate
    progressposition
    ctrlmapanimdone
    ctrlmapanimcommit
    ctrlmapanimclear
    sliderposition
    lbsortbyvalue
    ctrlhtmlloaded
    ctrlcommitted
    ctrlautoscrollrewind
    ctrlautoscrolldelay
    ctrlautoscrollspeed
    ctrltextheight
    maxmagazineammo
    settimeforscripts
    dbsavecharacter
    dbloadcharacter
    dbkillcharacter
    dbcreatecharacter
    dbfindcharacter
    publicvariableserver
    sethudmovementlevels
    iscopilotenabled
    lineintersectswith
    lineintersects
    terrainintersectasl
    terrainintersect
    enableenvironment
    itemsininventory
    istouchingground
    setsystemofunits
    getterrainheightasl
    enablecamshake
    setcamshakedefparams
    setcamshakeparams
    currentweaponmode
    currentmuzzle
    currentvisionmode
    currentzeroing
    isautohoveron
    textlogformat
    mapgridposition
    sendudpmessage
    showsubtitles
    canunloadincombat
    removeallitems
    onpreloadfinished
    onpreloadstarted
    startloadingscreen
    creategeardialog
    unlockachievement
    oncommandmodechanged
    screentoworld
    worldtoscreen
    ctrlmapmouseover
    simulationenabled
    setarmorypoints
    copytoclipboard
    currentmagazine
    currentweapon
    roadsconnectedto
    selectbestplaces
    clearvehicleinit
    difficultyenabled
    assignedtarget
    reloadenabled
    effectivecommander
    checkaifeature
    animationstate
    expecteddestination
    boundingcenter
    exportproxies
    nearestobjects
    setmouseposition
    vehiclevarname
    verifysignature
    deletecollection
    generatespawnpoints
    findspawnpoint
    findcachedspawnpoint
    sethazedistcoef
    sethazefogcoef
    movetocompleted
    lightdetachobject
    surfacenormal
    surfaceiswater
    camerainterest
    createvehicle            /*Raiin@MPGH*/
    createsoundsource
    activateaddons
    preloadcamera
    setshadowdistance
    getshadowdistance
    servercommand
    deactivatekey
    actionkeysimages
    actionkeysnamesarray
    actionkeysnames
    deletemarkerlocal
    createmarkerlocal
    preprocessfile
    estimatedtimeleft
    setterraingrid
    setviewdistance
    publicvariable
    disableuserinput
    showcinemaborder
    enablesentences
    deletevehicle
    getmagazinecargo
    getweaponcargo
    clearmagazinecargo
    clearweaponcargo
    removeallweapons
    preloadtitleobj
    preloadtitlersc
    allmissionobjects
    nearestobject
    nearestbuilding
    getmarkercolor
    getmarkersize
    getmarkertype
    velocitymodelspace
    visiblepositionasl
    visibleposition
    requiredversion
    targetsaggregate
    Last edited by ProRaiin; 12-19-2013 at 05:56 PM.

  2. The Following 5 Users Say Thank You to ProRaiin For This Useful Post:

    ApocalypticGamer (12-20-2013),CraftBugers (12-20-2013),Roni_sl (12-20-2013),xCyberxx (12-20-2013),yolomcgee (01-10-2014)

  3. #2
    krushchevawb's Avatar
    Join Date
    May 2013
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    0
    Thanks for this!

  4. #3
    basger's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Posts
    23
    Reputation
    10
    Thanks
    7
    My Mood
    Amused
    So. What exactly can we do with these?

  5. #4
    sayorecca's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by basger View Post
    So. What exactly can we do with these?
    If you figure out the syntax to use with the commands you can execute them with a script loader. Not that it was useful, but for instance I used createvehiclelocal to make a gun appear on the ground. Since it's local it doesn't actually allow me to pick it up, I can only see it, but hopefully you get the point.

  6. #5
    silverdraco's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    29
    Reputation
    10
    Thanks
    6
    Quote Originally Posted by sayorecca View Post
    If you figure out the syntax to use with the commands you can execute them with a script loader. Not that it was useful, but for instance I used createvehiclelocal to make a gun appear on the ground. Since it's local it doesn't actually allow me to pick it up, I can only see it, but hopefully you get the point.
    Do you understand the script language? I'm working on a bunch of stuff and it's always nice to have people working together

  7. #6
    sayorecca's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by silverdraco View Post
    Do you understand the script language? I'm working on a bunch of stuff and it's always nice to have people working together
    No I don't unfortunately, I have some experience with simple stuff like java and javascript, but this is my first time trying to script for this.

  8. #7
    HaxMan2000's Avatar
    Join Date
    Jun 2013
    Gender
    male
    Posts
    44
    Reputation
    10
    Thanks
    3
    My Mood
    Sleepy
    Quote Originally Posted by sayorecca View Post
    No I don't unfortunately, I have some experience with simple stuff like java and javascript, but this is my first time trying to script for this.
    It would possibly be a bit easier and helpful to start on Arma 2 or something as most of the things are unlocked, but it's up to you.

  9. #8
    xCyberxx's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    C:\Windows\sys32
    Posts
    1,417
    Reputation
    379
    Thanks
    1,459
    My Mood
    Devilish
    Okay so I dont feel like testing every command. Im just gonna ask it first =3
    What is the addAction command now? is it actionkeysname?
    + Google aint helping me ;(
    Quote Originally Posted by darkwrath505 View Post

    "zomg ples m4ke free hacks, im too lazy t0 get source code and update offsets." - MPGH 2015



  10. #9
    NitoNeat's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    ~°^°~ PwnyLand
    Posts
    21
    Reputation
    10
    Thanks
    3
    My Mood
    Inspired
    Quote Originally Posted by xCyberxx View Post
    Okay so I dont feel like testing every command. Im just gonna ask it first =3
    What is the addAction command now? is it actionkeysname?
    + Google aint helping me ;(
    I dont know, if I got that Question right, dont kill me if not, but look at the
    Wiki-Page of Bohemia, where every Command is declared. To stay simple, this Command adds an Action to the Mousewheel.



    Quote Originally Posted by HaxMan2000 View Post
    It would possibly be a bit easier and helpful to start on Arma 2 or something as most of the things are unlocked, but it's up to you.
    I have to agree, anyone who did some Mission-Editing in ArmA 2 will get a lot better into DayZ in general because of the Syntaxes and Stuff. (I do not say that every Script has been used in DayZ, obviously there were a lot removed.)

  11. #10
    ProRaiin's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Posts
    177
    Reputation
    23
    Thanks
    558
    My Mood
    Dead
    Quote Originally Posted by xCyberxx View Post
    Okay so I dont feel like testing every command. Im just gonna ask it first =3
    What is the addAction command now? is it actionkeysname?
    + Google aint helping me ;(
    It's very possible they removed it from the game. I'm not sure what they use for actions like Reload Ammo, I'll look that up though because it would be rather useful.

  12. The Following User Says Thank You to ProRaiin For This Useful Post:

    xCyberxx (12-20-2013)

  13. #11
    xCyberxx's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    C:\Windows\sys32
    Posts
    1,417
    Reputation
    379
    Thanks
    1,459
    My Mood
    Devilish
    Quote Originally Posted by NitoNeat View Post
    I dont know, if I got that Question right, dont kill me if not, but look at the
    Wiki-Page of Bohemia, where every Command is declared. To stay simple, this Command adds an Action to the Mousewheel.





    I have to agree, anyone who did some Mission-Editing in ArmA 2 will get a lot better into DayZ in general because of the Syntaxes and Stuff. (I do not say that every Script has been used in DayZ, obviously there were a lot removed.)
    DayZ standalone is using different commands and are not on bohemia if I'm right
    Quote Originally Posted by darkwrath505 View Post

    "zomg ples m4ke free hacks, im too lazy t0 get source code and update offsets." - MPGH 2015



  14. #12
    NitoNeat's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    ~°^°~ PwnyLand
    Posts
    21
    Reputation
    10
    Thanks
    3
    My Mood
    Inspired
    Quote Originally Posted by xCyberxx View Post
    DayZ standalone is using different commands and are not on bohemia if I'm right
    Many of the Commands used in DayZ are also the ones in ArmA 2 [Bohemia Interactive Game, obviously] since DayZ is based on the Engine of ArmA 2. It would take a whoooole fucking lot to remove all of them and declare new Syntaxes - It would be just worthless doing that

  15. #13
    xCyberxx's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    C:\Windows\sys32
    Posts
    1,417
    Reputation
    379
    Thanks
    1,459
    My Mood
    Devilish
    Quote Originally Posted by NitoNeat View Post
    Many of the Commands used in DayZ are also the ones in ArmA 2 [Bohemia Interactive Game, obviously] since DayZ is based on the Engine of ArmA 2. It would take a whoooole fucking lot to remove all of them and declare new Syntaxes - It would be just worthless doing that
    Well They did do that. They atleast renamed everything.
    Quote Originally Posted by darkwrath505 View Post

    "zomg ples m4ke free hacks, im too lazy t0 get source code and update offsets." - MPGH 2015



  16. #14
    infiSTAR's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Posts
    108
    Reputation
    19
    Thanks
    69
    My Mood
    Amused
    Quote Originally Posted by xCyberxx View Post
    DayZ standalone is using different commands and are not on bohemia if I'm right
    You are wrong, you can script fine on there, even use scriptbased menus. They've tried / did remove some things but there is always a way around that, as you know hehe.

    My little 'configviewer' menu using



    is still working good for me.
    But let us be honest. This game is no fun at all, not even with the ability to do what we want ^^
    Last edited by infiSTAR; 12-20-2013 at 02:18 PM.

  17. The Following User Says Thank You to infiSTAR For This Useful Post:

    xCyberxx (02-09-2014)

  18. #15
    Light_'s Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    9
    Reputation
    10
    Thanks
    1
    I don't think AddAction is valid anymore. Seems they have to write out every action in the config, and then it is parsed by the engine.
    This should make it possible for people making mods to add actions just fine, but prevents people from making scroll menus.

    Like this
    Code:
    		class UserActions {
    			class TurnOn : DefaultAction {
    				displayNameDefault = "Turn Off";
    				showWindow = 0;
    				displayName = "Turn Off";
    				condition = "isOn this";
    				statement = "this powerOn false";
    			};
    			
    			class TurnOff : DefaultAction {
    				displayNameDefault = "Turn On";
    				showWindow = 0;
    				displayName = "Turn On";
    				condition = "!isOn this";
    				statement = "this powerOn true";
    			};
    		};

Page 1 of 3 123 LastLast

Similar Threads

  1. Anyone know about DayZ Standalone anti-script kiddie system?
    By GriefSlicer in forum DayZ Discussion
    Replies: 9
    Last Post: 01-22-2013, 02:40 PM
  2. [Outdated] Compilation of all DayZ Hacks [Updated 10/7/12]
    By lockdown6435 in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 92
    Last Post: 12-25-2012, 12:56 PM
  3. [Release] New Dayz Spawn Script, Works on battleye .
    By s_johnson in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 246
    Last Post: 12-22-2012, 11:28 PM
  4. [Release] List Of All Dayz Weapons , and non.
    By s_johnson in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 92
    Last Post: 10-04-2012, 02:14 PM
  5. Dayz Custom scripts
    By purplex123 in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 1
    Last Post: 08-16-2012, 08:32 PM

Tags for this Thread