• 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!

Getting positions/player.uid from doAreaCombatHealth

Summ

(\/)(;,,;)(\/) Y not?
Staff member
Global Moderator
Joined
Oct 15, 2008
Messages
4,152
Solutions
12
Reaction score
1,107
Location
Germany :O
Hello
I was doing a script and used the doAreaCombatHealth command.
But i would like to set all players in this area, where the combat is created, the StorageID 1000 to Value 1.

I am using it like this:
Code:
local area1 = createCombatArea{
{0, 1, 0}, 
{1, 3, 1}, 
{0, 1, 0}, 
}
doAreaCombatHealth(0,COMBAT_PHYSICALDAMAGE, pos, area1,0,0,50)

But I don't want to do a spell, it won't be able to do what I want as a spell.
I just want to get a possibilty how to set these player the storage id or I want to get the positions to get the player if there is one on this position.
 
Back
Top