how will i know if the server has derma
SVN Tutorial
My SVN:Get dropbox and get 250 MB extra space: DropboxCode:http://divranspack.googlecode.com/svn/trunk/%20divranspack/
what the heck is string parent. It seems to not be working. I have been searching my ass off for a answer
I Found out, nevermind, Copying code that was exactly the same as mine. weird
Last edited by JulioGee; 03-14-2010 at 03:13 AM.
this account sucks balls
Not sure if anyone else has encountered this, I'm not sure if it has to do with teams or ULX groups or for whatever reason, but another admin and I on our server were using the enable mouse f3, and every time either one of us used it the other would be forced into the enable mouse. kind of annoying while trying to do stuff and they keep making me use my mouse and drop what I was physgunning. -snip-
edit: I got the pod working ok, but the enableMouseF3() I still can't figure out if it's me or your addon. Thanks for this addon though, it's awesome =)
Code:@name Derma Test @inputs E:entity runOnTick(1) dPod(E) if(changed(E:driver())&E:driver()){ dPanel("Main",vec2(scrW()/2,scrH()/2),vec2(scrW()/3,scrH()/3)) dButton("SomeButton","Main",vec2(50,50),vec2(50,20)) enableMouseF3(1) } if(dClk("SomeButton")){ concmd("say Hello!") }
Last edited by 88Phoenix; 03-16-2010 at 12:25 AM.
How to deselect whatever is selected in a listbox?
Why do it get stuck on my screen when I exit pod sometimes?
Why cant I do dArray("listbox",array())?
Would be good if there was a concmd for removing any e2 derma that migth be on your screen.
Just use:
It will only allow you to use the derma panel when you press 'E'.Code:enableMouse(owner():keyUse())
I assume that was not directed to me, as my problem had nothign to do with the mouse.
Altough I wonder, how will that work without makign you exit the pod drunkie (not that I need that code, I use the enableMouseF3())?
Solved my issues, but thanks anyhow Drunkie.
Feha, deselecting something in a list box, I don't think can be done, unless you did something like if(dClk("listbox")){ if selection is same as what was clicked last time, clear? }
if(changed(Pod["Active",number])&Pod["Active",number]==0){dShow("Main",0)} or something like this will disable your panel when you get out of the pod. (Note that I'm not ingame when I wrote this, but I'm pretty sure it will work for you in regards to getting out of a pod.)
also, dArray only works with strings, so I'm assuming you're using an array of players?
try this,
Code:@name Derma Test @inputs E:entity Pod:wirelink @persist [Plrs Players]:array Player:string if(changed(E)){ dPod(E) } if(first()|changed(numPlayers())){ findByClass("Player") dArray("Players",array()) Players = array() Plrs = findToArray() for(I=1,Plrs:count()){ Players[I,string] = Plrs[I,entity]:name() } } if(changed(E:driver())){ dPanel("Main",vec2(scrW()/3,scrH()/3),vec2(scrW()/2,scrH()/2)) dShow("Main",0) dListBox("Players","Main",vec2(100,40),vec2(200,200)) dArray("Players",Players) } if(changed(Pod["Active",number])&Pod["Active",number]==0){ DShow = 0 } elseif(changed(Pod["Active",number])&Pod["Active",number]){ DShow = 1 } if(DShow){ Player = dSval("Players") PlayerPos = floor(findPlayerByName(Player):pos()) dText("PlayerSelect",dSval("Players")) } if(changed(DShow)){ dShow("Main",DShow) enableMouse(DShow) } if (Pod["Active",number]==0){DShow=0,dArray("Players",array())}
Bookmarks