Not logged inOpenClonk Forum
Up Topic C4Script for everything

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 Newton
If the properties can be changed, what about (~same syntax):


object Rock : C4Object {
// the word Rock defines the ID. It can only be created by CreateObject
// if it inherits from C4Object which defines the standard definition set

// already defined
defWeight = 10;
// new
static defIsWeapon = true;

// access via Rock::defWeight
};

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill