Hey guys,
I'm new here, relatively new to emulators but I know c++/sql/... (I'm a dev in real life). I've been wanting to start scripting so I figured I'd take on a challenge and do Nef (I'm on skyfire 4.0.6 btw). So far I haven't gotten to doing anything because of the damn elevator/platform. I found the place to add it to the database in a script I found online (it had nothing for Nef but at least I found out where to add the platform)
Code:
INSERT INTO `gameobject` VALUES (4015050,207834,669,15,2,-107.832,-224.645,7.03043,3.13705,0,0,0.999997,0.00227041,300,0,1);
I've gone through quite a few things since then, tried to see how it was done elsewhere (lady deathwing's elevator), tried changing the type to 11, attempted GO_STATE_READY/GO_STATE_ACTIVE/ ... I've checked in the update function of gameobject and blocked the entry from updating completely ... none of it seems to make a difference, the platform just keeps on moving (or disappears altogether when giving it the wrong type, etc). I'm at a loss, I'm sure it has something to do with the waypoints but tracing back the Relocate functions in 'object' have left me at a loss. Does anyone know what's going on or have a clue on how to halt the platform?
Thanks in advance