
03-16-2001, 12:05 PM
|
|
Graal Administration
|
Join Date: Jan 2000
Location: Admins
Posts: 11,693
|
|
|
The S weapon will be customizable once
I have shorten the sword script enough
The script for cutting bushes still
takes some script, the other stuff is done in
a few lines:
if (created)
this.dirgo = {0,-1, -1,0, 0,1, 1,0};
if (weaponfired) {
setani sword,;
hitobjects playerswordpower/2,
playerx+1.5+2*this.dirgo[2*playerdir],
playery+2+2*this.dirgo[2*playerdir+1];
} |
|
|
|