Not logged inOpenClonk Forum
Up Topic Feature Wishlist

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Zapper
The problem is that the control was caught in the engine in CR when the crew was not enabled.
When rewriting the control stuff in script for OC, someone simply forgot that :)

I fixed it with the following script for Caedes:
#appendto Clonk
/* Main control function */
public func ObjectControl(int plr, int ctrl, int x, int y, int strength, bool repeat, bool release)
{
  if (!this)
    return false;
   
  if(!GetCrewEnabled()) return true;
  return inherited(plr, ctrl, x, y, strength, repeat, release, ...);
}


PS: I  might have misunderstood you.
You want GetCursor to return nil? So you want to remove a Clonk from a player's crew?

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill