I would like to avoid saving multiple references to same entity. so some method comparing them would be nice. ID mayby?
-methods like findentities and getselected always create new table for entity. So can't use reference number.
-some entities can be stacked. so position is not fit for all cases.
Comparing entity tables
Comparing entity tables
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
Re: Comparing entity tables
as a workarround you can try to move it/modify it some way, then compare that thing, then move it back, and compare the original position.
Re: Comparing entity tables
There is method equals. It checks if those references point to the same entity.
Re: Comparing entity tables
@ficolas
thanks for suggestion.
@kovarex
ah I remember seeing that in Lua/force wikipage. Thank you.
thanks for suggestion.
@kovarex
ah I remember seeing that in Lua/force wikipage. Thank you.
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela