Jump to content

F03 Geck - How do i make a script that uses onadd/addperk? please help.


Recommended Posts

  • 2 months later...

@infamousrazielWas it not a perk you wanted to add?  You did mod Str instead?   I cannot see why that script is not working as it just looks perfect.  I have a similar in my current project right now.

Video tutorials are sometimes a pain in the rear, as the author speed up the tempo so much that you have to pause every second. The worsted video I have seen, learn to make an animated eel in 8 minutes with Blender.  8 minutes?  Damn it took me a whole day and the speed in that video drew me nuts...   😮    The bloody eel fell apart even and it is broken...   😉  Well this thread is not about eels, but still, tutorials.  😮   That eel do not move as eels do anyway, if I would had remake it, I would let the eel swim closer to the bottom but it is my first animation ever made...   😕

 

Link to comment
Share on other sites

Lol, thanks for sharing your experience. I see what you mean in the video.

 

Ask Drarack for the specifics, he made the workaround for me that let it work, i just copy/pasted his stuff basically, have worked on alot since then so can't remember too well. Justwanted a way to increase special stats with an item.

Edited by infamousraziel
  • Like 1
Link to comment
Share on other sites

@infamousrazielYeapp. Good it got working in the end, as I could not see any post about it, so I thought, why do you have problems to get a perfect script to work.  😄

There are nasty ways of making a script to stop working however that I made 2 days ago and finding such a bug can drive anyone nuts. If we wanna make 2 checks and use && or ||, which means AND and OR, we could add an extra &&& or even like I managed to do with copy and paste, managed to make it &&&& and the compiler could not see that, but it sure make the script to stop working right there in game. It runs every frame, until it gets to the &&&&. Example:

If (This == 3) &&&& (That == 4)

It should be like this to work:

If (This == 3) && (That == 4)

The compiler did not care. Such a nasty bugs are extremely hard to find in a bigger script. I also tested to type something behind one of the ), like )f and the compiler bought it.   😮   No error messages...  😮  It will not work.

Edited by Pellape
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...