Jump to content

Cernu

Registered User
  • Content Count

    141
  • Joined

  • Last visited

Everything posted by Cernu

  1. Cernu

    need help with scripting

    you are not refering the proper entity to despawn. Using the dialogue, it has a reference to the questionner, whichis usually the NPC. It should be easy to despawn the "questioner" variable.
  2. Cernu

    can anyone change my nickname.

    Has he done any harm ? Just asking.
  3. Cernu

    how to read log userscript error reports ?

    This is great thanks a lot, very helpful. Because I try my functions to be multi purpose, I have revy hard time jugling between items, items types, item templates, game object types and templates. Like if I want to create a global spawn function, I have to identify the precise type of object to spawn, and would have to cycle through all the items above, because trying to spawn the wrong object would return me a script breaking error.
  4. Like the one above. especialy what does stack trace mean ?
  5. I want the player to not be able to create fire. So I have an event that listen to ignite, and extinguish the item immediately. It works fine in exterior, but when I have flint lighter in the inventory, I can ignite a torch.
  6. I tried everythings I could think of, this included. Not working. Buttons are not disabled
  7. Cernu

    can anyone change my nickname.

    that dude makes me laugh actually ^^
  8. thanks for the tip, very usefull. However, it doesn't disable the buttons that appear from within the inventory. Like if I have a non lighted torch, and a flint lighter, I can still ignite the torch. Or is there a way to disable these buttons too ?
  9. it might be a bug, but I solved my problem with a tiny delay and despawn the burning torch, and spawn a torch.
  10. Cernu

    bypass comparing errors

    when two values cannot be compared, but are compared anyways (I have aLOT of problems with game objects, entities, templates, types, and individual objects), the script stops working. Do you know a coder way to bypass the error please ?
  11. Cernu

    bypass comparing errors

    thanks, but I have issues if "example" is a game object, or doesn't even exist. You know, like using NONE, Unknown, null and stuff...
  12. Wouldn't that be great ?
  13. Cernu

    create our own classes

    Thanks, I already did this for my weapon rigale skills. I just wish there was an easier way. But it works. Thanks for the tip anyways ?
  14. Cernu

    create our own classes

    I was talking about entity classes, like any knife, any edged weapons...
  15. That is bad news, because from what I read, there will be some very nice coding QoL features for coders. And critters or things in Rigale are quite complex as far as internal system goes, and quite time consuming to create, even if I tried to ease the process. As for the competition, I will run sure why not, but I started Rigale before it was annouced, and will probably keep developping it after. And I really don't worry about it ? As for the swimming, both if I can. Athletism is already a thing for next version ? I will do swimming today, and maybe add wolves. Wolves are a must for stone age world ?
  16. updated to 6 nov 2020. Next I would like to try to improve and expand Athletism and swimming. I also have in mind a very big change for Rigale, that will allow me to introduce even more new concepts. However, I won't expand the world (in termes of size and critters) that much until the 1.5 exploration update, because some scripting improvments might be very helpfull for me.
  17. I have a very hard time creating functions with all the items variations in Ylands. I like my functions to be multi purpose, and have as wide an usage as possible. So I created a function that will count the number of item types in inventory, but I just can't have it count the number of templated items in inventory. Any idea please ?
  18. Cernu

    [solved] Recognize item template ?

    templated items An item I attach a game logic template to. I haven't meddle into labels yet, it might prove usefull. We shall see. Thanks ?
  19. Cernu

    [solved] Recognize item template ?

    Never mind, I am using "get name" ?
  20. Cernu

    create our own classes

    wow thanks, I need to dig deeper into this.
  21. Cernu

    duplicate a game object ?

    Hi all, I would need to have a game object template in the world, and duplicates here and there (they are spawners). However, if I change the template values, the duplicates don't change their values. Is there a way, beside using data sheets (which I do, but don't find really convenient...) ?
  22. Cernu

    duplicate a game object ?

    not really what I am looking for. Imagine I have a time trigger, that spawns an entity. I need to put some copies of this trigger all over the map. But what I am looking for is when I change the original trigger values (like spawn 2 entities instead of 1), all the triggers that I have copied on the map will spawn 2 entities, without having to manually update them, or delete them and re copy the original. Data sets can do this with no issues, I just wondered if there was an other way ...
  23. Did you people find a way to check this ? I have a timer for bleeding, I would like it to disappear when the stored creature doesn't exist anymore. But I definitely can't find anything in the tiles for this.
  24. Cernu

    return if entity exists in the world ?

    I will check. I thought this tile would check if object was entity , as opposed to being a game object, as the same is game object tile exists.
×