How to create a drowning character
#1

Hi guys,

Does anyone know how you can create a character that's floating in the water, without creating NPC's?

I wanna create some extra class in my gamemode where you need to use a boat to rescue characters who are floating in the water.
I've searched the models (to be used with CreateObject) but didn't find anything useful.

The player would choose the "lifeguard" class (or something like that), enter "/work" to start his job and at certain positions, a character would be created in the water that represents a drowning person.
These characters don't need to move or anything, just float in the water until the player comes into range.
When the player comes into range, the character is deleted or placed onboard the boat as passenger.
Then the player would need to go back to the base to finish his mission.

Or do I have to create NPC's to do this?
Reply
#2

Baywatch here we come lolz.

Peace...
Reply
#3

Quote:
Originally Posted by Stigg
Посмотреть сообщение
Baywatch here we come lolz.

Peace...
How is this related .. to .. huh, forget it.

The only thing I found is the big (4x times bigger than normal classes) Cesar skin, and it's not even floating. I think you can create NPC's.
Reply
#4

Quote:
Originally Posted by Stigg
Посмотреть сообщение
Peace...
Wtf is with people saying 'peace' at the end of every posts :S

OT: You could try to search for the object of the cop you had to dispose of in the last quarry mission (Single player).
Reply
#5

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
Wtf is with people saying 'peace' at the end of every posts :S
I use Peace... at the end of my everything, allways have.
Just something i do. Dont see why your spitting out the dummy.

Peace...
Reply
#6

Quote:
Originally Posted by Stigg
Посмотреть сообщение
I use Peace... at the end of my everything, allways have.
Just something i do. Dont see why your spitting out the dummy.

Peace...
He isn't, he's asking a valid question. How can you intend to be peaceful after that post?
Reply
#7

Quote:
Originally Posted by Calg00ne
Посмотреть сообщение
He isn't, he's asking a valid question. How can you intend to be peaceful after that post?
I'm a all round peacefull character, thats all.
I dont want no fuss.

Peace...
Reply
#8

Why not just make an NPC? /facepalm
Reply
#9

I guess I won't have any other choice than using NPC's to do this.

Since it isn't possible to put an object in the passenger seat, I think I can do it with NPC's, with a blank script (npcidle.npc).

Is it possible to control NPC's via your gamemode?
Like PutPlayerInVehicle(NPCid, vehicleid, 1) and SetPlayerPos(NPCid, x, y, z)?

I've never used NPC's before, so this is new to me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)