Pages 1
Universal Fighting Engine Forum We are no longer using the forum to answer questions due to bot attacks. Please use our discord instead: https://discord.gg/hGMZhF7 |
You are not logged in. Please login or register.
Universal Fighting Engine Forum → General → Determine local player from ControlsScript
for local or remote player, you can use this:
UFE.GetLocalPlayer()
or
UFE.GetRemotePlayer()
These functions will return the values 1 or 2 (which player is local or remote)
to know which one is CPU, use this:
UFE.GetCPU(1)
or
UFE.GetCPU(2)
These will return true or false if the given parameter (1 or 2) is controlled by the CPU or not.
Universal Fighting Engine Forum → General → Determine local player from ControlsScript
Powered by PunBB, supported by Informer Technologies, Inc.