Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Blocking force
Blocking force
2003-07-30, 4:19 PM #1
When it comes to the Force, I'm a super-n00b. I need to block force pull on a certain item. I added this to the class cog:
Code:
Skill:
	if(GetParam(0) == 24) ReturnEX(-1);
	else return;
And the type of the thing is "item". One primary reason for that is that "item" doesn't cause impact damage if you run into it to hard, like if I had used "type=cog" instead. If necessary though, I can write a cog to block impact damage, but preferably not.

------------------
"The Just shall live by faith." - Galatians 3:11
To edit is human... To COG is divine!!

pegasus_1984: Stop bushing that dang suck button.
guitarofgold: NOOOOOOOOO!!!!
-------[end post]-------
Catloaf, meet mouseloaf.
My music
2003-07-31, 7:36 AM #2
Force pull won't skill items. You'll have to modify the force pull cog. So in force pull, right after FirstThingInView() in the pulse, change the long condition which checks out the potential by adding your own test to make sure that potential doesn't have the same template as your item does.

------------------
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2003-07-31, 10:23 AM #3
That's exactly what I was afraid of...
*sigh*

------------------
"The Just shall live by faith." - Galatians 3:11
To edit is human... To COG is divine!!

pegasus_1984: Stop bushing that dang suck button.
guitarofgold: NOOOOOOOOO!!!!
-------[end post]-------
Catloaf, meet mouseloaf.
My music

↑ Up to the top!