hoverboard move.

Started by BC, September 19, 2008, 07:46:09 PM

Previous topic - Next topic

BC

ok the turn works good thanks.(although you missed out the X  in the trigger :P)


what am i exactly coding in state 6002


am i coding the helper again?.....

i didnt really understand what you meant
Accepting commissions

Bastard Mami

the hopdown state, is not it ? you just create the helper 10000 again when you hop down of it.

BC

yup thats the hop down state but the problem is

in the helper state the changestate is:

[State 10000, ChangeState]
type = ChangeState
trigger1 = root,pos y = -20
value = 19000
ctrl = 0


and in statedef 19000 which is the invisible animation state for the helper i have...


[State 10000, ChangeState]
type = ChangeState
trigger1 = root,pos y = 0
value = 10000
ctrl = 0


so when im dismounted the invisible helper state goes back to 10000 in which the board appears to its original state.


and also in the dismount state (6002) adding the same helper, wont appear because of the trigger numhelper(10000) = 0.....the helper already exisits all the way through doesnt it?
Accepting commissions

Bastard Mami

oh, I tought you were killing the helper while mounted on it.

BC

#24
no i was just putting it in a invisible state.

but then again killing it wouldnt be a bad idea right?


EDIT: ok instead of the changestate i just deleted the invisible state, changed the helper changestate to a destroyself then in the dismount added the helper works perfect ;)
Accepting commissions

BC

#25
ok debuged it and got an error.

warning player dan emp(33) in state 6001 has no helper 10000.   (6001 = on board state)


only happens when i press Z

think i know why, seeing as the helpers are using the same ID and stateno........... i asked the first helper to be destroyed, when the roots position Y is lvl on the ground.

so that destroys the helper i need to appear on the dismount frame.


so mayb i need to give the helper the same id but a different stateno right?



EDIT: ok that didnt make much difference. done the same,   although the move works why the debug error


EDIT": Fixed it.......kept the invisible state just used a destroy self so it doesnt go back to the original helper state, then kept the other helper in the dismount state........works great with no debug error erm............yay? lol
Accepting commissions