Little Fighter Empire - Forums
[Weapon] Opoint on type 1 - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7)
+--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11)
+--- Thread: [Weapon] Opoint on type 1 (/showthread.php?tid=8344)



Opoint on type 1 - Electric2Shock - 10-28-2012

Is opoint allowed in type: 1 objects. That is, state 100x frames? I put an opoint in a frame with state 1001 in a type: 1 weapon. The weapon went to that frame just perfectly but the object that was supposed to spawn did not spawn.

Any idea?


RE: Opoint on type 1 - Silverthorn - 10-28-2012

It should work. Spirit Sword spawns quite some objects with frames that are activated by the wpoint in a character. On ground-frames shouldn't be a problem either, a simple sequence can be gone through.

What I am more curious about is if the weapon will go through a sequence if it's being held, considering that the character specifically tells the weapon to remain in frame X...


RE: Opoint on type 1 - YinYin - 10-28-2012

(10-28-2012, 09:17 AM)Electric Shock Wrote:  Is opoint allowed in type: 1 objects. That is, state 100x frames? I put an opoint in a frame with state 1001 in a type: 1 weapon. The weapon went to that frame just perfectly but the object that was supposed to spawn did not spawn.

Any idea?
opoints only have problems spawning certain object types below ground and usually dont work if the frame was not activated through next:

how do you reach the frame with the opoint and what are you trying to do?

(10-28-2012, 10:09 AM)Blue Phoenix Wrote:  What I am more curious about is if the weapon will go through a sequence if it's being held, considering that the character specifically tells the weapon to remain in frame X...
weaponact has the priority because it resets the held object to its frame constantly (the wait can never run through to activate the next - you could try with a wait: 0 but others certainly wont work)
this is also the reason why held weapons spawn objects very frequently if they contain an opoint


RE: Opoint on type 1 - Electric2Shock - 10-28-2012

The frame was activated by a next value. I put an opoint with x of 68 and a y of 44. Is that ok?

To sum this all up, can anybody provide steps to do the following sceniario?

1. Char A is attacking with weapon x in his normal state.
2. Char A has a special weaponact that sends weapon x to frame 80.
3. Weapon x fires a ball and resets to frame 21.

Btw, i might just try out that spirit sword for help.


RE: Opoint on type 1 - YinYin - 10-28-2012

your weapon has the opoint in a held frame? then thats not actiavted through a next but rather the weaponact (80)
the opoint should work - but the minimum amount of objects spawned from it is 2 from my experience (if you character holding the opointing weapon with wait: 0 - the longer the character holds it in the opointing frame the more objects will be spawned)

so im not sure this will be the solution you want even if the opoint worked


RE: Opoint on type 1 - Electric2Shock - 10-28-2012

My weapon was supposed to go to frame 81 after 80 was activated and thats when the opoint was activated.
The opoint works in the standard on_hand frames but not frame 80 onwards. Why?


RE: Opoint on type 1 - YinYin - 10-28-2012

this isnt quite clear yet so i will just guess:

because your frame with the opoint is never called by a weaponact (next: 81 in frame 80 with weaponact: 80 on the character)

use the weaponact of the frame that contains the opoint