Jump to content

D4rkHax

Resident
  • Posts

    8
  • Joined

  • Last visited

Reputation

4 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I personally don't care. Not my issue, not my problem, not me that will get in trouble if anyone takes issue with it. I can think of much better things to be worried about than other people creating off brand copies of items in SL.
  2. Less than that. More like $29 dollars So 60 accounts at $72 = $4320 a year to pre pay premium for all of them. Thats per year. Then we take into account the money we get back from stipend. Per account thats $L300*52 weeks= $L15600 + ($L1000 sign up bonus) = $L16600 lindens per year which is currently $66.14 to buy on the Lindex. Multiply that value by 60 avatars = $3968.4 Take that away from the original $4320 = $351.6 Then we divide per month to get the overall monthly value = 351.6/12= $29.30 Not a bad price
  3. Okay so I have run into this issue several times and it seems to be a bug of some kind. The only annoying problem is its not reproducible enough to locate it as it happens fairly sporadically. I can not offer you any understanding of why it happens but I can re assure you that my code was correct on each occasion, I had another coder friend confirm that all was okay even though I knew it was, and the section of code or script would only run once the llOwnerSay was added. Im glad you posted this I thought I was going mad . I have experienced it quite a few times over the last 5 years or so. But never before.
  4. So, i am trying to make a new attack for my combat system. The basic idea is this : 1. User activates attack and FX will rez 2. Once step one is complete all avatars in a 360 degree field will be pushed away from the user while dealing damage. I am ok with every single aspect of these steps with the exception of getting the avatars to move away from me regardless of their rotation. So as a example, if avatar A is at a 45 deg angle to me and facing me and avatar B is at a 90 deg angle and is not facing me. Both of them will be pushed away on their respective angles. The avatars will be wearing a combat HUD so this will be done via that HUD, maybe using llMoveToTarget as my region has push disabled. If anyone can help it would be much appreciated
  5. It is just force of habit Lux, i read a long time ago on one the wiki somewhere that whilst we do have llList2Key and llList2Vector. Due to all the data in a list being stored by default as a string it was reccomended to always cast the information back from a string into your chosen data type. So i started using the likes of (vector)llList2String and its just become something that has stuck with me
  6. @Dora could you give me an example of how you would use the angle to select the avatar?
  7. @Luxen I am already more than aware of Sensors and how they operate. I have used them regularly in the past. However, i am exploring alternative ways to do this. @Dora That is a very interesting way to do it. I have been sat here thinking "So i must have to get my position and then my rotation and then somehow extend my field of check X meters infront of the positon of my avatar....but how do i do this exactly". Thank you for the response
  8. So, im playing around with a new idea i had. I want to detect avatars that are within 2 Meters infront of me without using a Sensor. So far i have used llGetAgentList to do this and have set a condition so it only returns people within 2 Meters of me BUT it returns everyone within 2 Meteres within 360 degrees of me. So if someone is stood behind me it will stick pick them up. So what i want to do is have my script only detect other avatars that are standing infront of me, inside a 45 degree angle. So a similar shape to this \ / . And are no further away than 2 meters. My code is as follows : list avatars=[]; integer i; av(){ avatars=llGetAgentList(AGENT_LIST_REGION,[]); i=-1; while(++i<llGetListLength(avatars)){ vector pos=(vector)llList2String(llGetObjectDetails((key)llList2String(avatars,i),[OBJECT_POS]),0); vector pos2=llGetPos()+<0,0,0>*llGetRot(); vector pos3=pos2-pos; if(llVecDist(pos,llGetPos())<2){ if((key)llList2String(avatars,i)!=llGetOwner()){ //This section is the section that needs to only detect avatars in front of me within the 2 meter / 45 degree range llOwnerSay(llKey2Name((key)llList2String(avatars,i))+" is within range"); llOwnerSay("Pos3 is : "+(string)pos3); } } } } default{ touch_start(integer x){ av(); } }As you can see i have made some attempts already with the pos, pos2, pos3 and have tried a variety of other ideas but i just can not seem to crack this. Would someone kindly be of help to me?
×
×
  • Create New...