• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 1.X+ Manipulate playerstorage if PlayerGetPZLOCK

God Nixez

Member
Joined
Sep 20, 2009
Messages
410
Reaction score
17
Hello there
Been working on a system and got only 1 script left to make it fully working
well, what i want to achieve is the following

Player X got storage Y with value Z
- Once player X gets involved in any agressive fight
"attacks non skulled player and gains skull"
"attacks an already skulled player which haven't atked him first"

if above conditions are true then doplayersetstorage..etc
should also be working for any attack including AOE based dmg
i've no idea how to achieve that so try to help me as i came here after 2 days of working and thinking
@Static_
/Nixez
 
Last edited:
Hello there
Been working on a system and got only 1 script left to make it fully working
well, what i want to achieve is the following

Player X got storage Y with value Z
- Once player X gets involved in any agressive fight
"attacks non skulled player and gains skull"
"attacks an already skulled player which haven't atked him first"

if above conditions are true then doplayersetstorage..etc
should also be working for any attack including AOE based dmg
i've no idea how to achieve that so try to help me as i came here after 2 days of working and thinking
@Static_
/Nixez
Any thoughts? :x
Simplest thing would be to use a creaturescript, onHealthChange or onManaChange and then ask the question if you were attacked by a player. If it was a player who attacked you then you can just execute code to affect that player.. change their storage value etc.

Haven't been here in awhile so i don't know what other means might be available to you, anyway best of luck! ;)
 
Back
Top