Well I got my stuff working again, so I can focus on other stuff again. :P
I have a few functions I don't really know how to use:
First, creature:SetReactState(state), I believe it's how the creature reacts to enemies, in C++ you can change it to REACT_PASSIVE or REACT_AGRESSIVE. I wan't the passive one but it's the wrong value when used in LUA. I tried it with a number (1) and got no errors this time but it did nothing as far I could tell. How do I use this function to get the creature to react passively? I think passive is that he won't go into ready-to-attack stance with his knees bent etc I just don't know the value in Eluna. If it's not that would there be a function that prevents that?
Second, unit:AddUnitState(state) I have to use for my VX-001 (Mimiron phase) script. The VX-001 model is just a flat cabine with no arms etc, when he changes his state it's supposed to show arms. I have no idea what a unit state is and what the values should be... How do I figure them out?
Third, there's an object which is an elevator for the intro of the VX-001 and I can make it activate and go up, but later on it opens up flaps slowly showing the VX-001, deactivating the object only reverses the previous action and with like 2 seconds delay after it fully retracted it makes the sound for the activation. How can you make an object do that?
Lastly, the thing I've been struggling with most with my script, and I highly doubt anyone knows what the deal is here since the Trinitycore community doesn't either, the almost fully scripted on TC Flame Leviathan has the same model and the turret is not attached on there either. The Leviathan MK II (Mimiron phase) has a turret which is a sepperate NPC. The turret is supposed to be a passenger for the MK II to be an actual turret. Vehicle_template_accessory no seatID's are working, all Mimiron's inventions are supposed to attach at some point into a giant robot but I can't even attach the turret to the bottom part (MK II). Is there a way to figure out the right seats for the vehicle (maybe unit:GetAvailableSeats() or unit:GetVehicleBase() )? I don't really know how to use these getters to interact with the setters though. Or perhaps edit the DBC for a custom seat? I've seen one working Mimiron script with turrets too etc on a private server (July 13th pretty recent) so it should be possible. There is a very old C++ script for Mimiron for TC Mimiron C++.zip
It's from 2010, but apperantly was working for 95%. I don't know C++, an it's not fully commented or anything so I can't really figure out where is which phase or action since I don't know C++.
I probably have some more questions but let's just take it easy for now lol.