Search results

  1. DreTaX

    Fougerite Official

    DreTaX updated Fougerite Official with a new update entry: Update Read the rest of this update entry...
  2. DreTaX

    Approved SleeperLog

    I bet he will.
  3. DreTaX

    Approved SleeperLog

    I doubt I would be/want to implement that in this. @Snake might add a check in FAC for that.
  4. DreTaX

    Approved ResourceNodeLoaded Hook

    @mikec was away, his mom seriously sick. I'm gonna assist him with a few stuffs and we will get those events.
  5. DreTaX

    Solved hurtevent.entity.destroy > metal window bar (solved)

    You don't get what I mean dude. Nobody said that OnKilled won't be called. NETCULL.DESTROY won't call OnKill It self .......
  6. DreTaX

    Solved hurtevent.entity.destroy > metal window bar (solved)

    if (this.IsDeployableObject()) NetCull.Destroy(Entity.GetObject<DeployableObject>().networkViewID); if (this.IsStructureMaster()) NetCull.Destroy(Entity.GetObject<StructureMaster>().networkViewID);
  7. DreTaX

    Solved hurtevent.entity.destroy > metal window bar (solved)

    Entity.Destroy() doesn't use netcull, just when It fails to destroy It. https://github.com/Notulp/Fougerite/blob/master/Fougerite/Fougerite/Entity.cs#L99 Netcull Itself will never call destroyevent. -- Btw: util.DestroyObject(hurtEvent.Entity.Object.gameObject); Forgot that you are on C#...
  8. DreTaX

    Solved hurtevent.entity.destroy > metal window bar (solved)

    Rust was always a struggle.
  9. DreTaX

    Solved hurtevent.entity.destroy > metal window bar (solved)

    GameObject and Object is a different thing. Object returns the original type (Rust class) of the entity. It's not hurtevent.entity.gameobject. As I said: util.DestroyObject(hurtEvent.Entity.Object.gameObject);
  10. DreTaX

    Approved Wiper

    I doubt It. I made It in a way so It doesn't need a wipe
  11. DreTaX

    Solved hurtevent.entity.destroy > metal window bar (solved)

    Are you sure? http://fougerite.com/threads/searching-in-world-entities-fails-silently.164/#post-1282 Can you tell me what gets printed on Entity.Object.ToString() ?
  12. DreTaX

    Approved Wiper

    wtf Output log?
  13. DreTaX

    Solved hurtevent.entity.destroy > metal window bar (solved)

    Wait. util.DestroyObject((GameObject)hurtEvent.Entity.Object); that's bad Should be util.DestroyObject(hurtEvent.Entity.Object.gameObject);
  14. DreTaX

    Solved hurtevent.entity.destroy > metal window bar (solved)

    Does It even trigger the hurtevent?
  15. DreTaX

    Solved hurtevent.entity.destroy > metal window bar (solved)

    Try: Util.DestroyObject(Entity.Object.gameObject);
  16. DreTaX

    Approved Wiper

    What were the null exceptions?
  17. DreTaX

    Approved NpcLoot

    Well, you could use from Fougerite import Entity entity = Entity(World.Spawn(blabla)) entity.Inventory
  18. DreTaX

    Fougerite Official

    DreTaX updated Fougerite Official with a new update entry: 1.0.8R3 Read the rest of this update entry...
  19. DreTaX

    Fougerite Official

    You can use IDidentif. for now.