General > Developers Corner
Noclip Kill Prevention
TheSabreSlicer:
And what part of the script would I need to edit to slay the abuser instead of setting their travel state?
Bytewave:
--- Quote from: TheSabreSlicer on January 19, 2014, 11:51:01 AM ---And what part of the script would I need to edit to slay the abuser instead of setting their travel state?
--- End quote ---
--- Code: ---att:SetMoveType( MOVETYPE_WALK )
--- End code ---
I think you would replace:
--- Code: ---SetMoveType( MOVETYPE_WALK )
--- End code ---
with:
--- Code: ---Kill()
--- End code ---
...but I'm not sure.
TheSabreSlicer:
I'm pretty sure its "slay", but I don't know what to put in the ()
Decicus:
No, just change
--- Code: ---att:SetMoveType( MOVETYPE_WALK )
--- End code ---
with
--- Code: ---att:Kill()
--- End code ---
and thats it.
Bytewave:
--- Quote from: Decicus on January 19, 2014, 12:49:23 PM ---No, just change
--- Code: ---att:SetMoveType( MOVETYPE_WALK )
--- End code ---
with
--- Code: ---att:Kill()
--- End code ---
and thats it.
--- End quote ---
I knew it! :D
Navigation
[0] Message Index
[*] Previous page
Go to full version