attempting to make a plugin to spawn giants
#2
Hi,

The Player doesn't contain a SpawnMob Method.

You need to get the world object from the player and call the spawn method from there.

Code:
Player:GetWorld():SpawnMob(Player:GetPosition(), mtGiant, false)
ยด

Edit: This wall cause the giant to spawn at the position of the player using the command. If you replace "Player" with "Giantee" you should get your desired result
Reply
Thanks given by: Code_Blue


Messages In This Thread
RE: attempting to make a plugin to spawn giants - by 12xx12 - 07-14-2021, 03:12 AM



Users browsing this thread: 1 Guest(s)