But I can't test at the moment..
Ok, I have an object that is activatable. Upon activating the object, stuff happens to the player1. If another player2 activates the object afterward, stuff happens to..player1 again! Now that isn't right!
What I've gome up with is to put Getsourceref() == -1; in the activated message after the effects. Should that work? And if not, any ideas?
------------------
Project leader of TDIR
Ok, I have an object that is activatable. Upon activating the object, stuff happens to the player1. If another player2 activates the object afterward, stuff happens to..player1 again! Now that isn't right!
What I've gome up with is to put Getsourceref() == -1; in the activated message after the effects. Should that work? And if not, any ideas?
------------------
Project leader of TDIR
If you are really serious about learning Cog, read a book on C (in order of preference), C++, Pascal, Java, or Basic. A good book on any of those will teach you fundamentals that apply to almost all languages, just don't get caught up with things specific to that language/compiler.
![http://forums.massassi.net/html/wink.gif [http://forums.massassi.net/html/wink.gif]](http://forums.massassi.net/html/wink.gif)
I'll have to test them again with different cog types/flags.