It's working!!
I was setting his object before LEVELSTART, and what actually the point: now that the autopunching code is after LEVELSTART, everything works fine (even if the Char is a DUMMY). Of course I'll have to set him as invulnerable.
Here's the code I used:
CHAR_DATA ped = (118.7, 116.8, 2.0 ...
Search found 3 matches
- 20 Aug 2011, 06:25
- Forum: Modding forum
- Topic: Can't make Char punch the air
- Replies: 5
- Views: 8826
- 20 Aug 2011, 00:30
- Forum: Modding forum
- Topic: Can't make Char punch the air
- Replies: 5
- Views: 8826
Re: Can't make Char punch the air
Hi elypter, thanks for the tips!
I'm trying this code:
CHAR_DATA ped = (118.7, 116.8, 2.0) 0 210 DUMMY
OBJ_DATA target = (118.7, 116.8, 2.0) 0 INVISIBLE_TARGET
SET_CHAR_OBJECTIVE (ped, DESTROY_OBJECT, target)
But stupid ped will just stand still, where am I wrong? Also tried with TOWER but nothing ...
I'm trying this code:
CHAR_DATA ped = (118.7, 116.8, 2.0) 0 210 DUMMY
OBJ_DATA target = (118.7, 116.8, 2.0) 0 INVISIBLE_TARGET
SET_CHAR_OBJECTIVE (ped, DESTROY_OBJECT, target)
But stupid ped will just stand still, where am I wrong? Also tried with TOWER but nothing ...
- 19 Aug 2011, 17:50
- Forum: Modding forum
- Topic: Can't make Char punch the air
- Replies: 5
- Views: 8826
Can't make Char punch the air
Hi everyone, I'm modding GTA2 and this website is helping me A LOT.
I'm modding it to make a funny video for my friends, and would need a char to punch the air like he was dancing; would that be possible?
As for now, I've created the char as a DUMMY and set him to KILL_CHAR_ON_FOOT: obviously he ...
I'm modding it to make a funny video for my friends, and would need a char to punch the air like he was dancing; would that be possible?
As for now, I've created the char as a DUMMY and set him to KILL_CHAR_ON_FOOT: obviously he ...