Page 1 of 1
How does work ACTION_COMBINE ?
Posted: Wed Feb 28, 2007 10:23 pm
by LordXYP
HI all,
I'm triyng to use ACTION_COMBINE, but the tow objet party have on hands seems to be destroyed and nothing is created.
Could someone explain me how does work this function plz, and where is created the new objet ?
THX

Posted: Wed Feb 28, 2007 10:37 pm
by beowuuf
There is a 'combine' option in the convert tabs in the individual item properties - one of the items should have this as null, and the other should have a new item or action as a result of the combination
The new object will be created in hand
Posted: Wed Feb 28, 2007 10:42 pm
by LordXYP
I dont anderstand.
Could you give me a example with two objects please ? For example an axe and a staff ?
Posted: Wed Feb 28, 2007 10:55 pm
by beowuuf
Ok, imagine you create a clone of a staff called clone_of_staff
You create an action_combine attack, called 'axe head' which needs an axe and a clone_of_staff
The axe, being an RTC item, has no properties
In the clone_of_staff object menu (the menu you would find when you create the clone) then you go to the 'convert' tab, and then on this screen go to the 'combine' tab. Under new object you could put, say, staff_axe
staff_axe would be another new clone that is an axehead on a huge long pole
Posted: Wed Feb 28, 2007 11:04 pm
by LordXYP
OK but in our example, if in game a player want to use the attack axe_head, must he have clone_staff in a hand and the axe in the second hand ? Or the method could be used carrying only one off the two object ?
Posted: Wed Feb 28, 2007 11:14 pm
by beowuuf
He needs both items in hand - action_combine looks at both hands, and takes the items out of the hands using the 'combine convert' action that is the property of the item
Posted: Wed Feb 28, 2007 11:20 pm
by LordXYP
OK i've anderstood. I would create a new objet having new methods combining for example a axe and a full potion to make an axe having fireball capacity ... then i think i'll make this using another way

Posted: Wed Feb 28, 2007 11:23 pm
by beowuuf
Ok
One warning - I can't find how to make an attack option do the combine, which is stupid as I know it's very doable! So ask someone else if you have problems (I might just be blind!)
Posted: Wed Feb 28, 2007 11:29 pm
by LordXYP
Ok thx

Posted: Wed Feb 28, 2007 11:33 pm
by LordXYP
Another question plz : in attack property i found that on_full_bro_neta is a 50 strengh spell. I would know how is strengh the fire-shield crated by a mon_full_bro_neta spell. Could you help me ?
Posted: Wed Feb 28, 2007 11:45 pm
by beowuuf
I am guessing, I think the attack option is a cheat that gives a spell-like effect wit the same strength
The actual spell properties are editable and in the spell menu, so you can see all values of the spell