When trying to change anything to do with the visibility of a bodyque i get this error:
Expression 2 (Test): lua/entities/gmod_wire_expression2/core/e2lib.lua:707: attempted to call method 'CPPIGetFriends' (a nil value)
So far this happens when i try use setAlpha, setMaterial or setColor. I wasn't sure about submitting due to that it could be a problem with CPPI but Abigail suggested i did.
EDIT: also affects parentTo and if you try do propSpawn(BodyQueEntity,1) then you get thisExpression 2 (Test): entities/gmod_wire_expression2/core/custom/prop.lua:53: bad argument #1 to 'IsValidModel' (string expected, got nil)
Would you be able to post an e2 example of what you were setting where and when?
You might want to try updating wiremod, your line numbers compared to the errored functions do not match.
Sorry for the late reply, so ive checked ive got the latest workshop version. The colour issue doesnt seem to happen anymore but the prop one still does (on line 72 this time), ill post what you need to recreate it.
if there is no bodyque then type ent_create bodyque into console.
Heres the E2:
@persist I
interval(5)
E = entity(I)
if(E:type() == "bodyque"){
print(E:type())
E:setColor(vec(0),255)
propSpawn(E,1)
}
I++
dafuque is a bodyque?
body-驴que?
dafuque is a bodyque?
It is on Valve docs as Portal 2 entity, here. So, GMod (server) must have Portal 2 mounted in the first place.
Doesnt seem to be much info on what it is, i saw some talk about it on a quake forum (maybe something from goldsource originally?) but it does seem to be in servers that dont have portal 2 mounted.
edit: apparently its used to store corpses on the map
This also works with base_brush. It seems that some entities return nil as a model.
Most helpful comment
body-驴que?