-
Posts
469 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Posts posted by dennis
-
-
The feature wasn't official nor shared with the community if I remember correct. And it didn't work with 2.5 either.
I guess the normal in engine brushes will do just fine also because it won't be a pain for the graphics card so it can load more advanced geometric
-
I think your quote there is for items submitted to the workshop for sale. ie models and textures not games.
I'd still wait for Josh to reply just to be sure.
It certainly is. Games made with leadwerks (according to the official EULA) are Royalty free.
Sold workshop items are not accounted for in the EULA, so you have to pay for the use of the system.
-
It should be:
for e=1, #entities do
end
Macklebee ! you're the hero of today
Completely works.
-
As a guess, maybe check the entity has a script exists before you access something on it?
Some entities coming back are probably not the ones you want to look at and may not have scripts.
Entities next to it (between the radius of 10) are my character and another object with that value. I am not getting why it wouldn't work.
I can't really return the values using System:Print() because we can't print tables to the system. So I don't know what is returned
I tried another value in the same script, but it is still a Nil value.
So I guess the:
for e=0, #entities do end
isn't working.
-
Did you import the GetEntityNeighbors script into your script before trying to use the above code?
Yes, I have.
It gave me the error on:
if entities[e].script.health ~= nil then
-
I'd use GetEntityNeighbors() function in Scripts/Functions/GetEntityNeighbors.lua.
You could do something like:
local radius = 10 local entities = GetEntityNeighbors(self.entity, radius, true) for e=0, #entities do if entities[e].script.health ~= nil then --deal damage end end
Won't work for me, it gave me: 119 : attempt to index a nil value.
-
Hi all,
I was wondering how I can get any entity in the world with a certain variable inside such as "health"?
This is because I am making a script with exploding stuff in it. but when something near it with the health variable, it has to get the same amount of damage too.
Thanks in common.
-
Yeah. Why not. Idk if the project really matters. All I got to do name the headers exactly the same as you need right? Or am I just thinking outside the box?
-
It certainly did work!
Thanks !!
- 1
-
Well I got the professional edition. What if I like to do so for dragonfreak?
-
Well this is perfect haha.
Thanks for your help ! Will login later today on my PC, problem is I ain't got very much time, Have to built a gaming pc for some budy of mine. But before that I will certainly check the code you wrote . Wouldn't be cool If I didn't right?
I wish you all the luck with your exams
- 1
-
Awesome!
Still at work too, got ten more minutes to survive.
But will check that out and Like to see that sprite.
But what if you just attach the script to a regular sprite object in the editor ?
That way it just will work right ?
- 1
-
Give the armor itself bones as your character has them.
Let the bones attach to the ones corresponding with eachother.
- 2
-
No, it would take millions of very small particles to make fire like this. It could be made with particles simulation in blender, but in the game it has to be animated sprite.
Will try it when I arrive home. Still working :/
-
Never thought of that !
but isn't that made from particles ?
-
Hi there,
I was wondering how I can do animated sprite sheets for explosions, fx effecs and waterfalls?
Have searched around the forums and haven't found anything.
Thanks in common.
Dennis
-
Would be awesome! As in LE2
-
Thanks Macklebee !
-
Hey Guys,
When playing with the overall quality settings inside the editor as tesselation and stuff I was wondering;
What is the actual LUA code for it?
as AF, tesselation and that stuff.
AA and lighting was easy to find.
-
Works like a charm!
getting anything done using databases
Can store my settings and other stuff for the player.
-
These are really high detailed
-
Choose diffuse and Specular or just flat.
You will add your shaders later on inside LE
-
You can try to return a false at the end of your loop.
-
Heya guys,
Does someone manage to get SQLite or some other database program working with LUA?
There is very little documentation on how to implement it (on the official website).
What is the best way to create streets and highways ?
in General Discussion
Posted
Just never used it. That's probably why I didn't remember my bad..
But for LE3 I just think brushes will work best ?