Search found 157 matches

by Blichew
Tue Nov 18, 2014 3:55 pm
Forum: Mod Creation
Topic: Usable Item question
Replies: 3
Views: 3917

Re: Usable Item question

But I still can actually script the item effect on use, just return false in the end, right ?
by Blichew
Tue Nov 18, 2014 1:20 pm
Forum: Mod Creation
Topic: Usable Item question
Replies: 3
Views: 3917

Usable Item question

Hi there, I was wondering if anyone found an option to make item with class UsableItem not disappear after use ? I'm thinking about something in the lines of boots of jumping, etc. You click the boots and it moves party either: 1up-1forward or 2-forward. I guess some kind of workaround would be sett...
by Blichew
Fri Nov 14, 2014 10:05 pm
Forum: Mod Creation
Topic: Writing the result of a function on a scroll ?
Replies: 11
Views: 9153

Re: Writing the result of a function on a scroll ?

I think you can't set values to object definitions dynamically as definitions load first with init.lua and other scripts and you're setting up the text waaaaaaaay later ingame (I think). Have you tried setting up in the definition: ScrollText = "Sample text that will change later", and as ...
by Blichew
Thu Nov 13, 2014 3:54 pm
Forum: Mod Creation
Topic: a script to trigger when a rune is cast
Replies: 13
Views: 10965

Re: a script to trigger when a rune is cast

Looks like you don't have customSpellScript script_entity in the game.

Could you post spell definition here ? code from customSpellScript script_entity might come handy too... :)
by Blichew
Thu Nov 13, 2014 3:48 pm
Forum: Mod Creation
Topic: a script to trigger when a rune is cast
Replies: 13
Views: 10965

Re: a script to trigger when a rune is cast

What's the error ?

From the top of my head: is the spell actually "castable" ? I mean does it form a line on the casting grid ?
by Blichew
Wed Nov 12, 2014 11:05 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3894
Views: 2979112

Re: Ask a simple question, get a simple answer

I want to create a Wall Trigger that will activate a magic bridge after shooting the wall with projectile (stones, arrows, anything) but can't seem to get it working. The wall trigger has projectile collider set and it actually stops the projectiles mid-air but doesn't trigger the connected entitie...
by Blichew
Wed Nov 12, 2014 11:03 am
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3894
Views: 2979112

Re: Ask a simple question, get a simple answer

Try adding multiple = 1 , just after weight. Nope, that didn't do it. The key still doesn't show up. I'll mess with this for an hour or so, maybe I'll get it. there's no such file as gfxAtlas = "assets/textures/gui/items_atlas.tga", and this field isn't mandatory if you're using default i...
by Blichew
Mon Nov 10, 2014 4:03 pm
Forum: Mod Creation
Topic: Way to modify party speed ?
Replies: 9
Views: 6791

Re: Way to modify party speed ?

Maybe try this with counter which increases it's value via onMove party hook ? Check with counter.value % 2 and move only if it's an even value.

Key to this seems to be if party.onMove is executer before or after actual move...
by Blichew
Mon Nov 10, 2014 9:47 am
Forum: Mod Creation
Topic: Teleportation scroll request
Replies: 23
Views: 23694

Re: Teleportation scroll request

I'd suggest using spawn ("teleporter") at party location (and then setting up the target, etc) because that way you set point to exact location, not using an offset (like setworldpos. does) If yku want to use get/set position instead of setWorldPosition you could try setPosition, maybe it'...
by Blichew
Sun Nov 09, 2014 2:15 pm
Forum: Mod Creation
Topic: Ask a simple question, get a simple answer
Replies: 3894
Views: 2979112

Re: Ask a simple question, get a simple answer

onDie is a hook of Health componet, not the monster itself as far as I remember so you should probably look there.

:EDIT: mobile speling, lol