What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Random Questions to Dev

Status
Not open for further replies.

theonn

Member
Joined
Nov 3, 2014
Messages
80
Reaction score
6
Hello, im working on a plugin,

i have a couple of questions that you ppl may help.

1- Is there any variable that contains NPC Agro Range_?

2- Rotation, has anybody solved this succesfully. because mine appears janky and rotates "weirdly" i have tried using rotation all angle and all that and always get borked rotation.

3- is there any way to determin if the Creature attiuute is "Enemy" (to be able to clasify between my own faction and enemies).

ill post more as more questions come to mind.
 
Is there any variable that contains NPC Agro Range_?
Hi, i dont find in client database value that indicate aggro range
3- is there any way to determin if the Creature attiuute is "Enemy" (to be able to clasify between my own faction and enemies).
Core.isEnemy(Creature)
 
TY out. ill try to set a "fixed" range for aggro (which seems to be the case).

Any way to get a PC classes (preferible main name and not the combination.. or the individual classes?
 
Any way to get a PC classes (preferible main name and not the combination.. or the individual classes?
If i correctly understand you - Player.getAbilities()
 
ty, more questions

anyway to know if a doodad is inside of a farm (protected or not?) wild stuff has no plant time so its easy to filter, but also filters stuff thats planted away in the wild.
 
ty, more questions

anyway to know if a doodad is inside of a farm (protected or not?) wild stuff has no plant time so its easy to filter, but also filters stuff thats planted away in the wild.

if (dist(SpawnObject, SpawnObject) <= #) //distance between two objects
{
//it's inside
}
else
{
//it's outside
}
 
that only menas that is inside a given radius, i need to know if a plant is a "wild" or its inside a protected farm.

i could extrapolate that code and see if there is a Farm, and given the name us the 8x8 or 16x16 but that wouldnt be trusthworthy seen i could have gotten any farm (instead of the actual owner farm).
 
Status
Not open for further replies.
Back
Top