mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-08 07:11:16 +00:00
Minor script fixes
- Bigmouth & Grabbyarm will no longer spam "entity invalid pointer" - Make Huggys follow through local warps (thx to Andrew Church for this)
This commit is contained in:
parent
273b608214
commit
0cdbc66c02
3 changed files with 4 additions and 2 deletions
|
@ -206,11 +206,13 @@ function enterState(me)
|
|||
esetv(me, EV_LOOKAT,1)
|
||||
entity_animate(me, "idle", LOOP_INF)
|
||||
entity_setMaxSpeed(me, 400)
|
||||
entity_setUpdateCull(me, 1500)
|
||||
|
||||
elseif entity_getState(me)==STATE_ATTACHED then
|
||||
entity_setEntityType(me, ET_NEUTRAL)
|
||||
esetv(me, EV_LOOKAT,0)
|
||||
entity_setMaxSpeed(me, 0)
|
||||
entity_setUpdateCull(me, -1)
|
||||
entity_animate(me, "attached", LOOP_INF)
|
||||
entity_sound(me, "Leach")
|
||||
v.attachBone = entity_getNearestBoneToPosition(entity_getTarget(me), entity_getPosition(me))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue